summaryrefslogtreecommitdiff
path: root/usr.bin/systat
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-11-18 05:53:03 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-11-18 05:53:03 +0000
commitabe6c636d07e2c84a4180877fd24a41fe93d88f6 (patch)
tree8bf53a6eff1ed2cdbeeea0ffcf73bdce00f08fbb /usr.bin/systat
parentc8a2e150070b8012abddeef6ae14189750dce49d (diff)
Notes
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/pigs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c
index fc12e518884b2..f637a6381cdb8 100644
--- a/usr.bin/systat/pigs.c
+++ b/usr.bin/systat/pigs.c
@@ -125,7 +125,7 @@ showpigs()
wmove(wnd, y, 0);
wclrtoeol(wnd);
mvwaddstr(wnd, y, 0, uname);
- sprintf(pidname, "%10.10s", pname, 0);
+ sprintf(pidname, "%10.10s", pname);
mvwaddstr(wnd, y, 9, pidname);
wmove(wnd, y, 20);
for (j = pt[k].pt_pctcpu*factor + 0.5; j > 0; j--)