diff options
author | davidn <davidn@FreeBSD.org> | 1997-09-01 10:06:05 +0000 |
---|---|---|
committer | davidn <davidn@FreeBSD.org> | 1997-09-01 10:06:05 +0000 |
commit | 83eefff2e6e23c94d79fc82cee7d706f861a3b46 (patch) | |
tree | 4744fc54c295a6cafed84e673397b502c055d271 /libexec/getty/chat.c | |
parent | 00e1cd92d7f717056507c66d4086018dc4bc0141 (diff) | |
download | FreeBSD-src-83eefff2e6e23c94d79fc82cee7d706f861a3b46.zip FreeBSD-src-83eefff2e6e23c94d79fc82cee7d706f861a3b46.tar.gz |
Use cgetustr() since we handled special escapes ourselves.
Fix typo in escape parsing function.
PR: 4370
Submitted by: sumii@is.s.u-tokyo.ac.jp
Diffstat (limited to 'libexec/getty/chat.c')
-rw-r--r-- | libexec/getty/chat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c index 2474195..964564e 100644 --- a/libexec/getty/chat.c +++ b/libexec/getty/chat.c @@ -22,7 +22,7 @@ * Modem chat module - send/expect style functions for getty * For semi-intelligent modem handling. * - * $Id$ + * $Id: chat.c,v 1.3 1997/02/22 14:21:36 peter Exp $ */ #include <sys/param.h> @@ -223,7 +223,7 @@ read_chat(chatstr) } } else { /* copy standard character */ - *r++ == *q; + *r++ = *q; } } |