Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
[oweals/busybox.git] / gzip.c
diff --git a/gzip.c b/gzip.c
index 9248cfecd651bb5b19a0d474b4d2d7d90abb0fc5..8bc67d9c608c904c71003a9bb645424301a6843b 100644 (file)
--- a/gzip.c
+++ b/gzip.c
@@ -127,7 +127,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, "gzip"); \
+      if (array == NULL) errorMsg(memory_exhausted); \
    }
 #  define FREE(array) {if (array != NULL) free(array), array=NULL;}
 #else
@@ -3251,7 +3251,7 @@ char *env;                                                /* name of environment variable */
        nargv = (char **) calloc(*argcp + 1, sizeof(char *));
 
        if (nargv == NULL)
-               errorMsg(memory_exhausted, "gzip");
+               errorMsg(memory_exhausted);
        oargv = *argvp;
        *argvp = nargv;