From e0bcba18eb9c185cefbef2ef05b846f735bd133a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 25 Sep 2008 10:41:15 +0000 Subject: df: unsigned long needs %lu --- coreutils/df.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils') 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", -- cgit v1.2.3