mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-24 04:34:25 +08:00
NETSTAT(1): Fix name list initialization
This commit is contained in:
parent
b86b09782a
commit
95a3ba8284
@ -520,6 +520,9 @@ main(int argc, char *argv[])
|
||||
if (xflag && Tflag)
|
||||
xo_errx(1, "-x and -T are incompatible, pick one.");
|
||||
|
||||
/* Load all necessary kvm symbols */
|
||||
kresolve_list(nl);
|
||||
|
||||
if (Bflag) {
|
||||
if (!live)
|
||||
usage();
|
||||
@ -602,9 +605,6 @@ main(int argc, char *argv[])
|
||||
exit(0);
|
||||
}
|
||||
|
||||
/* Load all necessary kvm symbols */
|
||||
kresolve_list(nl);
|
||||
|
||||
if (tp) {
|
||||
xo_open_container("statistics");
|
||||
printproto(tp, tp->pr_name, &first);
|
||||
|
Loading…
x
Reference in New Issue
Block a user