diff options
-rw-r--r-- | coreutils/cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index 74a704c8f..a766db40f 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -222,7 +222,7 @@ static void cut_file(FILE *file, const char *delim, const char *odelim, | |||
222 | /* Find next delimiter */ | 222 | /* Find next delimiter */ |
223 | #if ENABLE_FEATURE_CUT_REGEX | 223 | #if ENABLE_FEATURE_CUT_REGEX |
224 | if (opt_REGEX) { | 224 | if (opt_REGEX) { |
225 | regmatch_t rr = {-1, -1}; | 225 | regmatch_t rr; |
226 | regex_t *reg = (void*) delim; | 226 | regex_t *reg = (void*) delim; |
227 | 227 | ||
228 | if (regexec(reg, line + next, 1, &rr, REG_NOTBOL|REG_NOTEOL) != 0) { | 228 | if (regexec(reg, line + next, 1, &rr, REG_NOTBOL|REG_NOTEOL) != 0) { |