diff options
Diffstat (limited to 'usr/src/lib/libc/port/regex/wordexp.c')
-rw-r--r-- | usr/src/lib/libc/port/regex/wordexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/regex/wordexp.c b/usr/src/lib/libc/port/regex/wordexp.c index 4c5fb8e5e0..6b34fb4a69 100644 --- a/usr/src/lib/libc/port/regex/wordexp.c +++ b/usr/src/lib/libc/port/regex/wordexp.c @@ -85,7 +85,7 @@ static int append(wordexp_t *, char *); static char * mystpcpy(char *s1, const char *s2) { - while (*s1++ = *s2++) + while ((*s1++ = *s2++) != '\0') ; return (s1-1); } |