Remove previously unneeded and now incorrect cast of user_from_uid()

to a char *.
Fix up vendor ID.
This commit is contained in:
David Malone 2002-04-13 21:09:55 +00:00
parent 13685eeec2
commit 72c7c2e625
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94610

View File

@ -31,14 +31,15 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#ifdef lint
static const char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93";
#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$");
/*
* 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);