diff options
Diffstat (limited to 'libexec/getty/subr.c')
-rw-r--r-- | libexec/getty/subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c index 4c7c36499a0..0c0fd3a2f51 100644 --- a/libexec/getty/subr.c +++ b/libexec/getty/subr.c @@ -33,7 +33,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)subr.c 8.1 (Berkeley) 6/4/93";*/ -static char rcsid[] = "$Id: subr.c,v 1.7 1996/12/17 19:33:55 tholo Exp $"; +static char rcsid[] = "$Id: subr.c,v 1.8 1997/04/06 08:43:44 deraadt Exp $"; #endif /* not lint */ /* @@ -621,9 +621,9 @@ makeenv(env) termbuf[sizeof(termbuf)-1] = '\0'; *ep++ = termbuf; } - if (p = EV) { + if ((p = EV)) { q = p; - while (q = strchr(q, ',')) { + while ((q = strchr(q, ','))) { *q++ = '\0'; *ep++ = p; p = q; |