mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-27 21:50:32 +00:00
du: document incompatibility with standard tool
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
4d5955e9ec
commit
393c395ca5
@ -89,6 +89,10 @@ struct globals {
|
|||||||
#define INIT_G() do { } while (0)
|
#define INIT_G() do { } while (0)
|
||||||
|
|
||||||
|
|
||||||
|
/* FIXME? coreutils' du rounds sizes up:
|
||||||
|
* for example, 1025k file is shown as "2" by du -m.
|
||||||
|
* We round to nearest.
|
||||||
|
*/
|
||||||
static void print(unsigned long long size, const char *filename)
|
static void print(unsigned long long size, const char *filename)
|
||||||
{
|
{
|
||||||
/* TODO - May not want to defer error checking here. */
|
/* TODO - May not want to defer error checking here. */
|
||||||
|
Loading…
Reference in New Issue
Block a user