mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Remove previously unneeded and now incorrect cast of user_from_uid()
to a char *. Fix up vendor ID.
This commit is contained in:
parent
13685eeec2
commit
72c7c2e625
1 changed files with 8 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue