From 2b4ab1557b0d7cc5e318ac6aa6aa1a6d8ecc6e60 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 14 Feb 2007 04:20:41 +0000 Subject: Another crashdump fix: nfiles was renamed to openfiles in 5.x. MFC after: 3 days --- usr.sbin/pstat/pstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/pstat') 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 = "" } }; -- cgit v1.1