#ifdef CONFIG_FEATURE_HUMAN_READABLE
# ifdef CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
-static unsigned long disp_hr = KILOBYTE;
+static unsigned long disp_hr = 1024;
# else
static unsigned long disp_hr = 512;
# endif
{
/* TODO - May not want to defer error checking here. */
#ifdef CONFIG_FEATURE_HUMAN_READABLE
- bb_printf("%s\t%s\n", make_human_readable_str(size, 512, disp_hr),
+ printf("%s\t%s\n", make_human_readable_str(size, 512, disp_hr),
filename);
#else
if (disp_k) {
size++;
size >>= 1;
}
- bb_printf("%ld\t%s\n", size, filename);
+ printf("%ld\t%s\n", size, filename);
#endif
}
}
if((opt & (1 << 10))) {
/* -m opt */
- disp_hr = MEGABYTE;
+ disp_hr = 1024*1024;
}
if((opt & (1 << 2))) {
/* -k opt */
- disp_hr = KILOBYTE;
+ disp_hr = 1024;
}
#else
opt_complementary = "H-L:L-H:s-d:d-s";
print(total, "total");
}
- bb_fflush_stdout_and_exit(status);
+ fflush_stdout_and_exit(status);
}