uptime.c: Use the UTMP_PATH from config.def.h

This commit is contained in:
Ypnose 2015-07-09 22:25:33 +02:00 committed by sin
parent 71da5628d1
commit 52a0874624
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ main(int argc, char *argv[])
nusers++;
}
if (ferror(ufp))
eprintf("/var/run/utmp: read error:");
eprintf("%s: read error:", UTMP_PATH);
fclose(ufp);
printf(" %d user%s, ", nusers, nusers > 1 ? "s" : "");
}