change _PATH_UTMP to UTMP_FILE
This commit is contained in:
parent
9410608f43
commit
8131492067
|
@ -722,7 +722,7 @@ int sigar_who_list_get(sigar_t *sigar,
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
struct utmp ut;
|
struct utmp ut;
|
||||||
|
|
||||||
if (!(fp = fopen(_PATH_UTMP, "r"))) {
|
if (!(fp = fopen(UTMP_FILE, "r"))) {
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue