Fix crash with "netstat -m -N foo".

PR:		bin/124724
MFC after:	3 days
This commit is contained in:
Ruslan Ermilov 2009-01-10 12:39:12 +00:00
parent 9162f64b58
commit 83708764a7

View File

@ -507,7 +507,7 @@ main(int argc, char *argv[])
exit(0);
}
if (mflag) {
if (memf != NULL) {
if (!live) {
if (kread(0, NULL, 0) == 0)
mbpr(kvmd, nl[N_MBSTAT].n_value);
} else