diff options
author | Matt Kraai | 2000-07-12 17:02:35 +0000 |
---|---|---|
committer | Matt Kraai | 2000-07-12 17:02:35 +0000 |
commit | be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7 (patch) | |
tree | 088bc5b6e06d693ad8ca3eba078c0f3a8e302a24 /gunzip.c | |
parent | e58771e73c0d8589a458ede4088f5ba70eff917b (diff) | |
download | busybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.zip busybox-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.gz |
Always report the applet name when doing error reporting.
Diffstat (limited to 'gunzip.c')
-rw-r--r-- | gunzip.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -212,7 +212,7 @@ extern int method; /* compression method */ # define DECLARE(type, array, size) type * array # define ALLOC(type, array, size) { \ array = (type*)calloc((size_t)(((size)+1L)/2), 2*sizeof(type)); \ - if (array == NULL) errorMsg(memory_exhausted, "gunzip"); \ + if (array == NULL) errorMsg(memory_exhausted); \ } # define FREE(array) {if (array != NULL) free(array), array=NULL;} #else @@ -930,7 +930,7 @@ int in, out; /* input and output file descriptors */ int res = inflate(); if (res == 3) { - errorMsg(memory_exhausted, "gunzip"); + errorMsg(memory_exhausted); } else if (res != 0) { errorMsg("invalid compressed data--format violated"); } |