Index: head/usr.bin/netstat/main.c =================================================================== --- head/usr.bin/netstat/main.c +++ head/usr.bin/netstat/main.c @@ -422,13 +422,12 @@ if (!live) { if (setgid(getgid()) != 0) xo_err(-1, "setgid"); + /* Load all necessary kvm symbols */ + kresolve_list(nl); } 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)