From: Denis Vlasenko Date: Thu, 25 Sep 2008 10:41:15 +0000 (-0000) Subject: df: unsigned long needs %lu X-Git-Tag: 1_13_0~170 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e0bcba18eb9c185cefbef2ef05b846f735bd133a;p=oweals%2Fbusybox.git df: unsigned long needs %lu --- 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) disp_units_hdr = xasprintf("%s-blocks", make_human_readable_str(df_disp_hr, 0, !!(opt & OPT_POSIX))); #else - disp_units_hdr = xasprintf("%d-blocks", df_disp_hr); + disp_units_hdr = xasprintf("%lu-blocks", df_disp_hr); #endif } printf("Filesystem %-15sUsed Available %s Mounted on\n",