diff options
author | sos <sos@FreeBSD.org> | 1995-04-28 09:08:18 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1995-04-28 09:08:18 +0000 |
commit | 2f44e23088a7225e3ecac3a873f4918f905a5413 (patch) | |
tree | 281386df22b21e88f96dd08253e74e78dc1f4faf /usr.sbin/pstat | |
parent | 5ff2c2e2fbe3b9a870510877a36ed6415f2fee54 (diff) | |
download | FreeBSD-src-2f44e23088a7225e3ecac3a873f4918f905a5413.zip FreeBSD-src-2f44e23088a7225e3ecac3a873f4918f905a5413.tar.gz |
Corrected variable names for syscons support.
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r-- | usr.sbin/pstat/pstat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 204eae6..1411b54 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -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); |