diff options
| author | Giorgos Keramidas <keramida@FreeBSD.org> | 2005-03-21 18:11:31 +0000 |
|---|---|---|
| committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2005-03-21 18:11:31 +0000 |
| commit | 00191f86e060647e481e9d3baf8aaea3335abba7 (patch) | |
| tree | bcfd996416f52410a5d542116eb496a0d78f32e7 /usr.sbin/pstat | |
| parent | f56e71275a44323d2caecc1b2db34ddcdd033ab2 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pstat')
| -rw-r--r-- | usr.sbin/pstat/Makefile | 2 | ||||
| -rw-r--r-- | usr.sbin/pstat/pstat.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pstat/Makefile b/usr.sbin/pstat/Makefile index 2431224f3bc0..8fd2ced9f38c 100644 --- a/usr.sbin/pstat/Makefile +++ b/usr.sbin/pstat/Makefile @@ -6,7 +6,7 @@ LINKS= ${BINDIR}/pstat ${BINDIR}/swapinfo MAN= pstat.8 MLINKS= pstat.8 swapinfo.8 -WARNS?= 2 +WARNS?= 3 DPADD= ${LIBKVM} ${LIBUTIL} LDADD= -lkvm -lutil diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 7a721a304279..ca786376de28 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -81,11 +81,11 @@ enum { }; static struct nlist nl[] = { - { "_constty", 0 }, - { "_maxfiles", 0 }, - { "_nfiles", 0 }, - { "_tty_list", 0 }, - { "" } + { .n_name = "_constty" }, + { .n_name = "_maxfiles" }, + { .n_name = "_nfiles" }, + { .n_name = "_tty_list" }, + { .n_name = "" } }; static int humanflag; |
