diff options
-rw-r--r-- | findutils/grep.c | 1 | ||||
-rw-r--r-- | testsuite/du/du-m-works | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index b072cd441..aeb7977e9 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -686,6 +686,7 @@ int grep_main(int argc UNUSED_PARAM, char **argv) | |||
686 | #if ENABLE_FEATURE_GREP_CONTEXT | 686 | #if ENABLE_FEATURE_GREP_CONTEXT |
687 | int Copt, opts; | 687 | int Copt, opts; |
688 | #endif | 688 | #endif |
689 | INIT_G(); | ||
689 | 690 | ||
690 | /* For grep, exitcode of 1 is "not found". Other errors are 2: */ | 691 | /* For grep, exitcode of 1 is "not found". Other errors are 2: */ |
691 | xfunc_error_retval = 2; | 692 | xfunc_error_retval = 2; |
diff --git a/testsuite/du/du-m-works b/testsuite/du/du-m-works index c96c3b359..d9693c7bf 100644 --- a/testsuite/du/du-m-works +++ b/testsuite/du/du-m-works | |||
@@ -1,4 +1,4 @@ | |||
1 | # FEATURE: CONFIG_FEATURE_HUMAN_READABLE | 1 | # FEATURE: CONFIG_FEATURE_HUMAN_READABLE |
2 | 2 | ||
3 | dd if=/dev/zero of=file bs=1M count=1 2>/dev/null | 3 | dd if=/dev/zero of=file bs=1M count=1 2>/dev/null |
4 | test x"`busybox du -m file`" = x"1 ." | 4 | test x"`busybox du -m file`" = x"1 file" |