diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/libkern/fnmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/fnmatch.c b/sys/libkern/fnmatch.c index 0c2ca13..96cd341 100644 --- a/sys/libkern/fnmatch.c +++ b/sys/libkern/fnmatch.c @@ -147,7 +147,7 @@ rangematch(pattern, test, flags) * consistency with the regular expression syntax. * J.T. Conklin (conklin@ngai.kaleida.com) */ - if (negate = (*pattern == '!' || *pattern == '^')) + if ( (negate = (*pattern == '!' || *pattern == '^')) ) ++pattern; for (ok = 0; (c = *pattern++) != ']';) { |