diff options
author | Luca Bruno <lucab@debian.org> | 2009-06-03 12:04:41 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-06-03 12:15:40 -0400 |
commit | 6fa19b04d9bcf71131ba7969a9f43a63dd1960aa (patch) | |
tree | 7379bcb25367652a616bc27317af6846919e217d /mkfs.c | |
parent | 99b6d94018a684031b802dd362e2fd21c7be6fe6 (diff) |
Fix printf format casting errors
There are still some warnings of the form:
format '%llu' expects type 'long long unsigned int' but argument has type 'u64'
In conjunction with -Werror, this is causing some build failures.
Now they're properly casted, avoiding compiler warnings.
Signed-off-by: Luca Bruno <lucab@debian.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'mkfs.c')
-rw-r--r-- | mkfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -388,7 +388,7 @@ int main(int ac, char **av) fprintf(stderr, "File system size " "%llu bytes is too small, " "256M is required at least\n", - block_count); + (unsigned long long)block_count); exit(1); } zero_end = 0; |