1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Fix typo.

This commit is contained in:
David Nugent 1997-04-13 16:55:56 +00:00
parent c628fb0743
commit 5afcddae37
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24899

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()) )