Skip to content

Commit 8bb4071

Browse files
committed
Correct printf usage in test_statvfs.c
1 parent 1290c48 commit 8bb4071

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/core/test_statvfs.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ int main() {
1717

1818
printf("f_bsize: %lu\n", s.f_bsize);
1919
printf("f_frsize: %lu\n", s.f_frsize);
20-
printf("f_blocks: %u\n", s.f_blocks);
21-
printf("f_bfree: %u\n", s.f_bfree);
22-
printf("f_bavail: %u\n", s.f_bavail);
20+
printf("f_blocks: %llu\n", s.f_blocks);
21+
printf("f_bfree: %llu\n", s.f_bfree);
22+
printf("f_bavail: %llu\n", s.f_bavail);
2323
printf("f_files: %d\n", s.f_files > 5);
24-
printf("f_ffree: %u\n", s.f_ffree);
25-
printf("f_favail: %u\n", s.f_favail);
24+
printf("f_ffree: %llu\n", s.f_ffree);
25+
printf("f_favail: %llu\n", s.f_favail);
2626
printf("f_fsid: %lu\n", s.f_fsid);
2727
printf("f_flag: %lu\n", s.f_flag);
2828
printf("f_namemax: %lu\n", s.f_namemax);

0 commit comments

Comments
 (0)