summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sockstat/sockstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sockstat/sockstat.c b/usr.bin/sockstat/sockstat.c
index bd71c53..c5d6067 100644
--- a/usr.bin/sockstat/sockstat.c
+++ b/usr.bin/sockstat/sockstat.c
@@ -529,7 +529,7 @@ getprocname(pid_t pid)
warn("sysctl()");
return ("??");
}
- return (proc.ki_ocomm);
+ return (proc.ki_comm);
}
static int
OpenPOWER on IntegriCloud