diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 850721e3e..4e407e45f 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -397,7 +397,7 @@ char *xasprintf(const char *format, ...) | |||
397 | va_end(p); | 397 | va_end(p); |
398 | #endif | 398 | #endif |
399 | 399 | ||
400 | if (r < 0) bb_perror_msg_and_die("xasprintf"); | 400 | if (r < 0) bb_error_msg_and_die(bb_msg_memory_exhausted); |
401 | return string_ptr; | 401 | return string_ptr; |
402 | } | 402 | } |
403 | #endif | 403 | #endif |