Date: Mon, 27 Nov 2006 17:24:37 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/systat netstat.c Message-ID: <200611271724.kARHObjF025904@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2006-11-27 17:24:37 UTC
FreeBSD src repository
Modified files:
usr.bin/systat netstat.c
Log:
+ WARNS=4 reminds that nlist.n_name isn't const.
+ Use C99 initializers to be WARNS-clean.
+ The last element in a namelist should have its n_name set to NULL,
not to an empty string.
Revision Changes Path
1.27 +5 -3 src/usr.bin/systat/netstat.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611271724.kARHObjF025904>
