summaryrefslogtreecommitdiff
path: root/lib/libc/gen/wordexp.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>2009-11-25 04:45:45 +0000
committerGarrett Wollman <wollman@FreeBSD.org>2009-11-25 04:45:45 +0000
commit0c0349bfa4ecb2fb0e99d094e2dcaca7f5878d0a (patch)
tree01f0d0420123a2fbc4530d2d7bd607cbf6ee8049 /lib/libc/gen/wordexp.c
parent750a395ba6d87693b16041db60bf6a0f52695f8f (diff)
Notes
Diffstat (limited to 'lib/libc/gen/wordexp.c')
-rw-r--r--lib/libc/gen/wordexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/wordexp.c b/lib/libc/gen/wordexp.c
index 06abdc796ae7b..bcab1f5e8154c 100644
--- a/lib/libc/gen/wordexp.c
+++ b/lib/libc/gen/wordexp.c
@@ -320,7 +320,7 @@ we_check(const char *words, int flags)
if (c == '\0' || level != 0)
return (WRDE_SYNTAX);
} else
- c = *--words;
+ --words;
break;
default:
break;