Fix crash with "netstat -m -N foo".
PR: bin/124724 MFC after: 3 days
This commit is contained in:
parent
9162f64b58
commit
83708764a7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user