Fixed warnings.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4911 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-10-01 03:31:14 +00:00
parent 526ba06270
commit 786eefee41
@@ -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);