diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 1921932d1..8246b5fd8 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -3158,7 +3158,7 @@ static int glob_brace(char *pattern, o_string *o, int n) | |||
3158 | return o_save_ptr_helper(o, n); | 3158 | return o_save_ptr_helper(o, n); |
3159 | } | 3159 | } |
3160 | if (gr == GLOB_NOSPACE) | 3160 | if (gr == GLOB_NOSPACE) |
3161 | bb_error_msg_and_die(bb_msg_memory_exhausted); | 3161 | bb_die_memory_exhausted(); |
3162 | /* GLOB_ABORTED? Only happens with GLOB_ERR flag, | 3162 | /* GLOB_ABORTED? Only happens with GLOB_ERR flag, |
3163 | * but we didn't specify it. Paranoia again. */ | 3163 | * but we didn't specify it. Paranoia again. */ |
3164 | bb_error_msg_and_die("glob error %d on '%s'", gr, pattern); | 3164 | bb_error_msg_and_die("glob error %d on '%s'", gr, pattern); |
@@ -3260,7 +3260,7 @@ static int perform_glob(o_string *o, int n) | |||
3260 | goto literal; | 3260 | goto literal; |
3261 | } | 3261 | } |
3262 | if (gr == GLOB_NOSPACE) | 3262 | if (gr == GLOB_NOSPACE) |
3263 | bb_error_msg_and_die(bb_msg_memory_exhausted); | 3263 | bb_die_memory_exhausted(); |
3264 | /* GLOB_ABORTED? Only happens with GLOB_ERR flag, | 3264 | /* GLOB_ABORTED? Only happens with GLOB_ERR flag, |
3265 | * but we didn't specify it. Paranoia again. */ | 3265 | * but we didn't specify it. Paranoia again. */ |
3266 | bb_error_msg_and_die("glob error %d on '%s'", gr, pattern); | 3266 | bb_error_msg_and_die("glob error %d on '%s'", gr, pattern); |