Corrected variable names for syscons support.

This commit is contained in:
Søren Schmidt 1995-04-28 09:08:18 +00:00
parent af5b6e3f9d
commit de4c8be3eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8122

View File

@ -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);