mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix typo.
This commit is contained in:
parent
c628fb0743
commit
5afcddae37
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue