From 786eefee41a7efc7aba246f03f9e2cc28b96cce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 1 Oct 2003 03:31:14 +0000 Subject: [PATCH] Fixed warnings. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4911 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kernel/file_systems/bfs/bfs_shell/additional_commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/add-ons/kernel/file_systems/bfs/bfs_shell/additional_commands.c b/src/tests/add-ons/kernel/file_systems/bfs/bfs_shell/additional_commands.c index bd22b934b4..6586695ada 100644 --- a/src/tests/add-ons/kernel/file_systems/bfs/bfs_shell/additional_commands.c +++ b/src/tests/add-ons/kernel/file_systems/bfs/bfs_shell/additional_commands.c @@ -43,7 +43,7 @@ do_chkbfs(int argc, char **argv) // check all files and report errors while (sys_ioctl(1, fd, BFS_IOCTL_CHECK_NEXT_NODE, &result, sizeof(result)) == B_OK) { if (++counter % 50 == 0) - printf(" %7ld nodes processed\x1b[1A\n", counter); + printf(" %7d nodes processed\x1b[1A\n", counter); if (result.errors) { printf("%s (inode = %Ld)", result.name, result.inode); @@ -80,7 +80,7 @@ do_chkbfs(int argc, char **argv) printf("chkbfs: error stopping!\n"); } - printf("checked %ld nodes, %Ld blocks not allocated, %Ld blocks already set, %Ld blocks could be freed\n", + printf("checked %d nodes, %Ld blocks not allocated, %Ld blocks already set, %Ld blocks could be freed\n", counter, result.stats.missing, result.stats.already_set, result.stats.freed); printf("\tfiles\t\t%Ld\n\tdirectories\t%Ld\n\tattributes\t%Ld\n\tattr. dirs\t%Ld\n\tindices\t\t%Ld\n", files, directories, attributes, attributeDirectories, indices);