diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-06-23 22:21:50 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-06-23 22:21:50 +0000 |
commit | dfeead84e5b3e2b349a06703fdb4ba9cafb2ab94 (patch) | |
tree | f0412471d516ae339a59982ce32158d3789aed53 /usr.bin/systat/pigs.c | |
parent | f117bcdcb3d1667b3f1b0eda5c6389ba8dce21da (diff) |
Cleanup by Theo and myself. CMDLINE changed to long to make
command line work on 64bit platforms. This is somewhat bogus
and is really just a temporary workaround (there may be a curses bug).
Diffstat (limited to 'usr.bin/systat/pigs.c')
-rw-r--r-- | usr.bin/systat/pigs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c index 66f044353ee..b040047dd04 100644 --- a/usr.bin/systat/pigs.c +++ b/usr.bin/systat/pigs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pigs.c,v 1.3 1996/06/26 05:40:10 deraadt Exp $ */ +/* $OpenBSD: pigs.c,v 1.4 1997/06/23 22:21:48 millert Exp $ */ /* $NetBSD: pigs.c,v 1.3 1995/04/29 05:54:50 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93"; #endif -static char rcsid[] = "$OpenBSD: pigs.c,v 1.3 1996/06/26 05:40:10 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: pigs.c,v 1.4 1997/06/23 22:21:48 millert Exp $"; #endif /* not lint */ /* @@ -132,7 +132,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--) |