summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pstat
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-02-14 04:20:41 +0000
committerjhb <jhb@FreeBSD.org>2007-02-14 04:20:41 +0000
commit2b4ab1557b0d7cc5e318ac6aa6aa1a6d8ecc6e60 (patch)
tree8066a8608662bfba57cdf6a0d5fa4dcc999f6279 /usr.sbin/pstat
parente60305b703a253ca6eb2f69813b61aebdaa6e733 (diff)
downloadFreeBSD-src-2b4ab1557b0d7cc5e318ac6aa6aa1a6d8ecc6e60.zip
FreeBSD-src-2b4ab1557b0d7cc5e318ac6aa6aa1a6d8ecc6e60.tar.gz
Another crashdump fix: nfiles was renamed to openfiles in 5.x.
MFC after: 3 days
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 6130e77..a64fb6e 100644
--- a/usr.sbin/pstat/pstat.c
+++ b/usr.sbin/pstat/pstat.c
@@ -83,7 +83,7 @@ enum {
static struct nlist nl[] = {
{ .n_name = "_constty" },
{ .n_name = "_maxfiles" },
- { .n_name = "_nfiles" },
+ { .n_name = "_openfiles" },
{ .n_name = "_tty_list" },
{ .n_name = "" }
};
OpenPOWER on IntegriCloud