aboutsummaryrefslogtreecommitdiff
path: root/libbb/wfopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/wfopen.c')
-rw-r--r--libbb/wfopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/wfopen.c b/libbb/wfopen.c
index 20fe18b23..1c7f7f3d7 100644
--- a/libbb/wfopen.c
+++ b/libbb/wfopen.c
@@ -42,7 +42,7 @@ static FILE* xfdopen_helper(unsigned fd_and_rw_bit)
{
FILE* fp = fdopen(fd_and_rw_bit >> 1, fd_and_rw_bit & 1 ? "w" : "r");
if (!fp)
- bb_error_msg_and_die(bb_msg_memory_exhausted);
+ bb_die_memory_exhausted();
return fp;
}
FILE* FAST_FUNC xfdopen_for_read(int fd)