diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 diff --git a/builder/config.h b/builder/config.h index 05eeb48..7878969 100644 --- a/builder/config.h +++ b/builder/config.h @@ -14,5 +14,5 @@ const char *libs[] = { }; #define CFLAGS "-Wall -Wextra -pedantic -Os -s -I ../libmu" -#define CC "cc" +#define CC "tcc" #endif diff --git a/coreutils/du.c b/coreutils/du.c index a8f191d..5714801 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -16,7 +16,7 @@ void print(double size, const char *filename) { char c = 0; if (h_flag) { - if (size < 1048576) { + if (size < 1048576 && !m_flag) { size = size / 1024; c = 'K'; }