mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
Fix typo.
This commit is contained in:
parent
c628fb0743
commit
5afcddae37
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24899
@ -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()) )
|
||||
|
Loading…
Reference in New Issue
Block a user