diff options
Diffstat (limited to 'libc/misc/ttyent')
-rw-r--r-- | libc/misc/ttyent/getttyent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/ttyent/getttyent.c b/libc/misc/ttyent/getttyent.c index 13cbd6c84..e9cc9be2a 100644 --- a/libc/misc/ttyent/getttyent.c +++ b/libc/misc/ttyent/getttyent.c @@ -213,13 +213,13 @@ int endttyent(void) } libc_hidden_def(endttyent) -struct ttyent * getttynam(const char *tty) +struct ttyent * getttynam(const char *_tty) { register struct ttyent *t; setttyent(); while ((t = getttyent())) - if (!strcmp(tty, t->ty_name)) + if (!strcmp(_tty, t->ty_name)) break; endttyent(); return (t); |