diff options
author | Eric Andersen | 2001-05-29 22:36:39 +0000 |
---|---|---|
committer | Eric Andersen | 2001-05-29 22:36:39 +0000 |
commit | 86f0167e399f6f9a201e3d5294dc7e0a8c78c585 (patch) | |
tree | 8645e47680d8812eeb784db7200ead265bc6439c | |
parent | 6e9e136fcbd1883cf8a29d87b3825398587a3860 (diff) | |
download | busybox-86f0167e399f6f9a201e3d5294dc7e0a8c78c585.zip busybox-86f0167e399f6f9a201e3d5294dc7e0a8c78c585.tar.gz |
grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong.
-rw-r--r-- | findutils/grep.c | 4 | ||||
-rw-r--r-- | grep.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index fb7df24..03cc9f8 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -221,8 +221,8 @@ static void destroy_regexes() /* destroy all the elments in the array */ while (--nregexes >= 0) { - regfree(regexes[nregexes]); - free(regexes[nregexes]); + regfree(®exes[nregexes]); + free(®exes[nregexes]); } } #endif @@ -221,8 +221,8 @@ static void destroy_regexes() /* destroy all the elments in the array */ while (--nregexes >= 0) { - regfree(regexes[nregexes]); - free(regexes[nregexes]); + regfree(®exes[nregexes]); + free(®exes[nregexes]); } } #endif |