diff options
| author | David Nugent <davidn@FreeBSD.org> | 1997-09-03 01:08:41 +0000 |
|---|---|---|
| committer | David Nugent <davidn@FreeBSD.org> | 1997-09-03 01:08:41 +0000 |
| commit | 2e83bb21c9ce4ead7771403a7d522781ffb81ee4 (patch) | |
| tree | 558ecd7e05a5cc30106dc4c65223c02361f8ab42 /libexec/getty | |
| parent | 6db7e392f22869c9d2adf89575d989422b16e1da (diff) | |
Notes
Diffstat (limited to 'libexec/getty')
| -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 603b884ed246..608ad114d301 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.2 1997/08/17 23:44:35 davidn Exp $"; +static char rcsid[] = "$Id: subr.c,v 1.6.2.3 1997/09/01 10:08:48 davidn Exp $"; #endif /* not lint */ /* @@ -132,7 +132,7 @@ gettable(name, buf) } for (sp = gettystrs; sp->field; sp++) { - if ((l = cgetustr(buf, (char*)sp->field, &p)) >= 0) { + if ((l = cgetstr(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("cgetustr: %s=%s\r\n", sp->field, sp->value); + printf("cgetstr: %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++) |
