diff options
author | yar <yar@FreeBSD.org> | 2003-06-10 16:34:03 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2003-06-10 16:34:03 +0000 |
commit | e46b9f99caad85af7d27e370f7abf6a6da46cbd0 (patch) | |
tree | 6e80afe543b45b14e8791394a5177066d82ae521 /libexec/getty/main.c | |
parent | 151ea28b4aa3f763472cbb41fe8b335a0ed60ecc (diff) | |
download | FreeBSD-src-e46b9f99caad85af7d27e370f7abf6a6da46cbd0.zip FreeBSD-src-e46b9f99caad85af7d27e370f7abf6a6da46cbd0.tar.gz |
Spot one more place where boolean variables were incremented
instead of just being assigned a truth value.
Diffstat (limited to 'libexec/getty/main.c')
-rw-r--r-- | libexec/getty/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c index 0bb4f5e..0eaf0a4 100644 --- a/libexec/getty/main.c +++ b/libexec/getty/main.c @@ -484,7 +484,7 @@ setttymode(const char *tname, int raw) gettable(tname, tabent); if (OPset || EPset || APset) - APset++, OPset++, EPset++; + APset = OPset = EPset = 1; setdefaults(); (void)tcflush(STDIN_FILENO, TCIOFLUSH); /* clear out the crap */ ioctl(STDIN_FILENO, FIONBIO, &off); /* turn off non-blocking mode */ |