Fix typo.

This commit is contained in:
David Nugent 1997-04-13 16:55:56 +00:00
parent c628fb0743
commit 5afcddae37

View file

@ -57,7 +57,7 @@ getttynam(tty)
{
register struct ttyent *t;
if (strnchr(tty, "/dev/", 5) == 0)
if (strncmp(tty, "/dev/", 5) == 0)
tty += 5;
setttyent();
while ( (t = getttyent()) )