From 35d0530fded72322f905fbafca47f57b5f5fdfaf Mon Sep 17 00:00:00 2001 From: Jim Bloom Date: Mon, 28 Oct 1985 20:36:24 -0800 Subject: [PATCH] add support for dmz SCCS-vsn: usr.sbin/pstat/pstat.c 5.5 --- usr/src/usr.sbin/pstat/pstat.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/usr/src/usr.sbin/pstat/pstat.c b/usr/src/usr.sbin/pstat/pstat.c index e5cb16bec5..9c5e98f0ce 100644 --- a/usr/src/usr.sbin/pstat/pstat.c +++ b/usr/src/usr.sbin/pstat/pstat.c @@ -11,7 +11,7 @@ char copyright[] = #endif not lint #ifndef lint -static char sccsid[] = "@(#)pstat.c 5.4 (Berkeley) %G%"; +static char sccsid[] = "@(#)pstat.c 5.5 (Berkeley) %G%"; #endif not lint /* @@ -100,6 +100,10 @@ struct nlist nl[] = { { "_ndhu" }, #define SYSMAP 27 { "_Sysmap" }, +#define SDMZ 28 + { "_dmz_tty" }, +#define SNDMZ 29 + { "_ndmz" }, { "" } }; @@ -434,6 +438,8 @@ dotty() dottytype("dmf", SDMF, SNDMF); if (nl[SNDHU].n_type != 0) dottytype("dhu", SDHU, SNDHU); + if (nl[SNDMZ].n_type != 0) + dottytype("dmz", SDMZ, SNDMZ); if (nl[SNPTY].n_type != 0) dottytype("pty", SPTY, SNPTY); } -- 2.20.1