[PATCH] btrfs-progs: Fix printk format casting errors

2009-08-01 Thread Luca Bruno
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. --- convert.c |2 +- disk-io.c |6

[PATCH] btrfs-progs: Fix printf format casting errors

2009-03-15 Thread Luca Bruno
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

[PATCH] Add -V|--version to mkfs.btrfs argument parser

2009-03-15 Thread Luca Bruno
option, no need to touch it. Signed-off-by: Luca Bruno --- mkfs.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/mkfs.c b/mkfs.c index d664254..af7d12c 100644 --- a/mkfs.c +++ b/mkfs.c @@ -275,6 +275,12 @@ static void print_usage(void) exit(1