summaryrefslogtreecommitdiffstats
path: root/disk-utils/mkfs.bfs.c
diff options
context:
space:
mode:
authorBoris Egorov2015-06-19 21:40:59 +0200
committerKarel Zak2015-06-25 12:08:45 +0200
commite3ca1312a20424501144cebe6c2e6e78a5bf6db1 (patch)
tree8308000b8bfb0ea1796254b155d04d0f31701660 /disk-utils/mkfs.bfs.c
parentrename: allow full-path renames (diff)
downloadkernel-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.c6
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));
}