diff options
author | Boris Egorov | 2015-06-19 21:40:59 +0200 |
---|---|---|
committer | Karel Zak | 2015-06-25 12:08:45 +0200 |
commit | e3ca1312a20424501144cebe6c2e6e78a5bf6db1 (patch) | |
tree | 8308000b8bfb0ea1796254b155d04d0f31701660 /disk-utils/mkfs.bfs.c | |
parent | rename: allow full-path renames (diff) | |
download | kernel-qcow2-util-linux-e3ca1312a20424501144cebe6c2e6e78a5bf6db1.tar.gz kernel-qcow2-util-linux-e3ca1312a20424501144cebe6c2e6e78a5bf6db1.tar.xz kernel-qcow2-util-linux-e3ca1312a20424501144cebe6c2e6e78a5bf6db1.zip |
sys-utils/disk-utils/lib: fix printf format types [cppcheck]
Fix 'invalidPrintfArgType' cppcheck warnings
Signed-off-by: Boris Egorov <egorov@linux.com>
Diffstat (limited to 'disk-utils/mkfs.bfs.c')
-rw-r--r-- | disk-utils/mkfs.bfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/disk-utils/mkfs.bfs.c b/disk-utils/mkfs.bfs.c index 2a223646e..70571945d 100644 --- a/disk-utils/mkfs.bfs.c +++ b/disk-utils/mkfs.bfs.c @@ -246,12 +246,12 @@ int main(int argc, char **argv) fprintf(stderr, _("FSname: <%-6s>\n"), fsname); fprintf(stderr, _("BlockSize: %d\n"), BFS_BLOCKSIZE); if (ino_blocks == 1) - fprintf(stderr, _("Inodes: %lu (in 1 block)\n"), + fprintf(stderr, _("Inodes: %ld (in 1 block)\n"), inodes); else - fprintf(stderr, _("Inodes: %lu (in %llu blocks)\n"), + fprintf(stderr, _("Inodes: %ld (in %llu blocks)\n"), inodes, ino_blocks); - fprintf(stderr, _("Blocks: %lld\n"), total_blocks); + fprintf(stderr, _("Blocks: %llu\n"), total_blocks); fprintf(stderr, _("Inode end: %d, Data end: %d\n"), le32_to_cpu(sb.s_start) - 1, le32_to_cpu(sb.s_end)); } |