$OpenBSD: patch-files_c,v 1.1.1.1 2018/05/07 17:55:20 bcallah Exp $

time_t requires %lld

Index: files.c
--- files.c.orig
+++ files.c
@@ -4254,7 +4254,7 @@ static streng *getstatus( tsd_t *TSD, const streng *fi
             if ( sizeof(off_t) > 4 )
                sprintf( result->value, "%lld", buffer.st_ctime );
             else
-               sprintf( result->value, "%ld", buffer.st_ctime);
+               sprintf( result->value, "%lld", buffer.st_ctime);
 #endif
          }
          break;
@@ -4272,7 +4272,7 @@ static streng *getstatus( tsd_t *TSD, const streng *fi
             if ( sizeof(off_t) > 4 )
                sprintf( result->value, "%lld", buffer.st_mtime );
             else
-               sprintf( result->value, "%ld", buffer.st_mtime);
+               sprintf( result->value, "%lld", buffer.st_mtime);
 #endif
          }
          break;
@@ -4290,7 +4290,7 @@ static streng *getstatus( tsd_t *TSD, const streng *fi
             if ( sizeof(off_t) > 4 )
                sprintf( result->value, "%lld", buffer.st_atime );
             else
-               sprintf( result->value, "%ld", buffer.st_atime);
+               sprintf( result->value, "%lld", buffer.st_atime);
 #endif
          }
          break;
