summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1997-09-01 10:08:48 +0000
committerDavid Nugent <davidn@FreeBSD.org>1997-09-01 10:08:48 +0000
commit2223caa99fe916dbcf76ccd1c8f1e39a6cad6172 (patch)
tree93f5e6f9d7e69edf551ff825d023a893a7690ff0 /libexec
parentb1304bfd198370f50b8f469059fca58db5761504 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/chat.c4
-rw-r--r--libexec/getty/subr.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/libexec/getty/chat.c b/libexec/getty/chat.c
index 24741950ae81..964564e44034 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;
}
}
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index 1ff9552dc18b..603b884ed246 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.6.2.1 1997/05/11 05:28:54 davidn Exp $";
+static char rcsid[] = "$Id: subr.c,v 1.6.2.2 1997/08/17 23:44:35 davidn Exp $";
#endif /* not lint */
/*
@@ -132,7 +132,7 @@ gettable(name, buf)
}
for (sp = gettystrs; sp->field; sp++) {
- if ((l = cgetstr(buf, (char*)sp->field, &p)) >= 0) {
+ if ((l = cgetustr(buf, (char*)sp->field, &p)) >= 0) {
if (sp->value) {
/* prefer existing value */
if (strcmp(p, sp->value) != 0)
@@ -170,7 +170,7 @@ gettable(name, buf)
#ifdef DEBUG
printf("name=\"%s\", buf=\"%s\"\r\n", name, buf);
for (sp = gettystrs; sp->field; sp++)
- printf("cgetstr: %s=%s\r\n", sp->field, sp->value);
+ printf("cgetustr: %s=%s\r\n", sp->field, sp->value);
for (np = gettynums; np->field; np++)
printf("cgetnum: %s=%d\r\n", np->field, np->value);
for (fp = gettyflags; fp->field; fp++)