summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1995-04-28 09:08:18 +0000
committersos <sos@FreeBSD.org>1995-04-28 09:08:18 +0000
commit2f44e23088a7225e3ecac3a873f4918f905a5413 (patch)
tree281386df22b21e88f96dd08253e74e78dc1f4faf /usr.sbin/pstat
parent5ff2c2e2fbe3b9a870510877a36ed6415f2fee54 (diff)
downloadFreeBSD-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.c12
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);
OpenPOWER on IntegriCloud