Unbreak buildworld on i386
authorFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 2 Dec 2011 23:51:16 +0000 (00:51 +0100)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 2 Dec 2011 23:51:16 +0000 (00:51 +0100)
sbin/vquota/vquota.c

index 49147cb..2099cf6 100644 (file)
@@ -37,6 +37,7 @@
 #include <err.h>
 #include <string.h>
 #include <fts.h>
+#include <inttypes.h>
 
 static void usage(int);
 static int get_dirsize( char* );
@@ -84,7 +85,7 @@ static int get_dirsize( char* dirname ) {
                }
        }
 
-       printf( "%lu\n", size_of_files );
+       printf( "%"PRIu64"\n", size_of_files );
        return retval;
 }