Whamcloud - gitweb
Fix signed vs unsigned printf format strings for block and inode numbers
[tools/e2fsprogs.git] / lib / ext2fs / tst_getsize.c
index 08bb8ed..17f900c 100644 (file)
@@ -39,6 +39,6 @@ int main(int argc, const char *argv[])
                com_err(argv[0], retval, "while getting device size");
                exit(1);
        }
-       printf("%s is device has %d blocks.\n", argv[1], blocks);
+       printf("%s is device has %u blocks.\n", argv[1], blocks);
        return 0;
 }