diff --git a/uptime.c b/uptime.c index 015dcad..e0dd6fa 100644 --- a/uptime.c +++ b/uptime.c @@ -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" : ""); }