mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 10:10:24 -04:00
Corrected variable names for syscons support.
This commit is contained in:
parent
af5b6e3f9d
commit
de4c8be3eb
1 changed files with 6 additions and 6 deletions
|
|
@ -125,10 +125,10 @@ struct nlist nl[] = {
|
|||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#define PCCONS (SNPTY+1)
|
||||
{ "_pccons" },
|
||||
#define NPCCONS (SNPTY+2)
|
||||
{ "_npccons" },
|
||||
#define SCCONS (SNPTY+1)
|
||||
{ "_sccons" },
|
||||
#define NSCCONS (SNPTY+2)
|
||||
{ "_nsccons" },
|
||||
#endif
|
||||
{ "" }
|
||||
};
|
||||
|
|
@ -762,8 +762,8 @@ ttymode()
|
|||
ttytype(tty, "dc", SDC, SNDC);
|
||||
#endif
|
||||
#ifdef __FreeBSD__
|
||||
if (nl[NPCCONS].n_type != 0)
|
||||
ttytype(tty, "vty", PCCONS, NPCCONS);
|
||||
if (nl[NSCCONS].n_type != 0)
|
||||
ttytype(tty, "vty", SCCONS, NSCCONS);
|
||||
#endif
|
||||
if (nl[SNPTY].n_type != 0)
|
||||
ttytype(tty, "pty", SPTY, SNPTY);
|
||||
|
|
|
|||
Loading…
Reference in a new issue