Corrected variable names for syscons support.
This commit is contained in:
parent
af5b6e3f9d
commit
de4c8be3eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8122
@ -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 New Issue
Block a user