From de4c8be3eb38ed901090dfdc418e0da5a15f7db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Fri, 28 Apr 1995 09:08:18 +0000 Subject: [PATCH] Corrected variable names for syscons support. --- usr.sbin/pstat/pstat.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 204eae68e01..1411b545034 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);