diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2002-04-13 21:09:55 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2002-04-13 21:09:55 +0000 |
commit | bca9d5731a14d99e218705fb68fc6fc6d3b0397d (patch) | |
tree | 4e5c01741cae425e1c0e38d21fc75d59364c62af /usr.bin | |
parent | ec9302ee877ac6dec15ddbddebf64cfc32b9ec60 (diff) | |
download | FreeBSD-src-bca9d5731a14d99e218705fb68fc6fc6d3b0397d.zip FreeBSD-src-bca9d5731a14d99e218705fb68fc6fc6d3b0397d.tar.gz |
Remove previously unneeded and now incorrect cast of user_from_uid()
to a char *.
Fix up vendor ID.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/systat/pigs.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c index 053ac53..9ac9d82 100644 --- a/usr.bin/systat/pigs.c +++ b/usr.bin/systat/pigs.c @@ -31,14 +31,15 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> +#if 0 +#ifndef lint +static char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93"; +#endif /* not lint */ +#endif +#include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#ifdef lint -static const char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93"; -#endif - /* * Pigs display from Bill Reeves at Lucasfilm */ @@ -121,8 +122,7 @@ showpigs() pname = "<idle>"; } else { - uname = (char *) - user_from_uid(pt[k].pt_kp->ki_uid, 0); + uname = user_from_uid(pt[k].pt_kp->ki_uid, 0); pname = pt[k].pt_kp->ki_comm; } wmove(wnd, y, 0); |