use futmpx in sigar_who_list for sparc64
This commit is contained in:
parent
165e7d6a99
commit
70755f8018
|
@ -1054,7 +1054,8 @@ static int sigar_who_utmp(sigar_t *sigar,
|
||||||
{
|
{
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
#ifdef __sun
|
#ifdef __sun
|
||||||
struct utmpx ut;
|
/* use futmpx w/ pid32_t for sparc64 */
|
||||||
|
struct futmpx ut;
|
||||||
#else
|
#else
|
||||||
struct utmp ut;
|
struct utmp ut;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue