diff options
author | emaste <emaste@FreeBSD.org> | 2007-03-22 17:47:58 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2007-03-22 17:47:58 +0000 |
commit | 77a22ac8825487930e8535bc2918fd6d4542a908 (patch) | |
tree | 6b01f580eb7843a531701e5d15fd21bbed9bd93c /usr.bin | |
parent | 6d629e46734596bd87478c062d893e7039637967 (diff) | |
download | FreeBSD-src-77a22ac8825487930e8535bc2918fd6d4542a908.zip FreeBSD-src-77a22ac8825487930e8535bc2918fd6d4542a908.tar.gz |
Use proc name (ki_comm) instead of thread name (ki_ocomm) as these may now
be different.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/sockstat/sockstat.c | 2 |
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 |