ubase

suckless linux base utils
git clone git://git.suckless.org/ubase
Log | Files | Refs | README | LICENSE

commit 52a0874624fcd53f76ef0d2caa82c0463ab93303
parent 71da5628d18492f48369d0d00cd86551ec7798d0
Author: Ypnose <linuxien@legtux.org>
Date:   Thu,  9 Jul 2015 22:25:33 +0200

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

Diffstat:
uptime.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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" : ""); }