summaryrefslogtreecommitdiff
path: root/sys/libkern/fnmatch.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
commit51295a4d3e4c551df85249433c490208dc7fd23d (patch)
treec116431af8e1f042b25e0f70c63c437cf7ff8d63 /sys/libkern/fnmatch.c
parentaf7a29993083b1562f01c87bb774fbe4fc3579e7 (diff)
Notes
Diffstat (limited to 'sys/libkern/fnmatch.c')
-rw-r--r--sys/libkern/fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libkern/fnmatch.c b/sys/libkern/fnmatch.c
index 0c2ca13d16d6..96cd341f14d0 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++) != ']';) {