diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-25 10:41:15 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-25 10:41:15 +0000 |
commit | e0bcba18eb9c185cefbef2ef05b846f735bd133a (patch) | |
tree | 105c167d1ad97a9dc215e1be7f8b86731a53c7c8 | |
parent | ea7c9b3366f0e97273b011b3c0b3fee9a25e8c15 (diff) | |
download | busybox-w32-e0bcba18eb9c185cefbef2ef05b846f735bd133a.tar.gz busybox-w32-e0bcba18eb9c185cefbef2ef05b846f735bd133a.tar.bz2 busybox-w32-e0bcba18eb9c185cefbef2ef05b846f735bd133a.zip |
df: unsigned long needs %lu
-rw-r--r-- | coreutils/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/df.c b/coreutils/df.c index fd2502309..1c7d6cb38 100644 --- a/coreutils/df.c +++ b/coreutils/df.c | |||
@@ -93,7 +93,7 @@ int df_main(int argc, char **argv) | |||
93 | disp_units_hdr = xasprintf("%s-blocks", | 93 | disp_units_hdr = xasprintf("%s-blocks", |
94 | make_human_readable_str(df_disp_hr, 0, !!(opt & OPT_POSIX))); | 94 | make_human_readable_str(df_disp_hr, 0, !!(opt & OPT_POSIX))); |
95 | #else | 95 | #else |
96 | disp_units_hdr = xasprintf("%d-blocks", df_disp_hr); | 96 | disp_units_hdr = xasprintf("%lu-blocks", df_disp_hr); |
97 | #endif | 97 | #endif |
98 | } | 98 | } |
99 | printf("Filesystem %-15sUsed Available %s Mounted on\n", | 99 | printf("Filesystem %-15sUsed Available %s Mounted on\n", |