summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-05-23 14:41:52 +0000
committerdes <des@FreeBSD.org>2002-05-23 14:41:52 +0000
commitab841e31f20b4daf2d6e3129a61e5604b6a58947 (patch)
treea43e10be5cdcbcd14403ecd6d7096a6d87e0db34 /usr.sbin/pstat
parent6131a2e28ec6f8852fbd77dd87575ea9950af974 (diff)
downloadFreeBSD-src-ab841e31f20b4daf2d6e3129a61e5604b6a58947.zip
FreeBSD-src-ab841e31f20b4daf2d6e3129a61e5604b6a58947.tar.gz
Unbreak tty mode (cons was renamed to constty a while ago)
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'usr.sbin/pstat')
-rw-r--r--usr.sbin/pstat/pstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c
index cf34de3..3bec67d 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -94,7 +94,7 @@ struct nlist nl[] = {
{"_maxfiles"},
#define NLMANDATORYEND FNL_MAXFILE /* names up to here are mandatory */
#define SCONS NLMANDATORYEND + 1
- { "_cons" },
+ { "_constty" },
#define SPTY NLMANDATORYEND + 2
{ "_pt_tty" },
#define SNPTY NLMANDATORYEND + 3
OpenPOWER on IntegriCloud