ubase

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

commit 69eb15a131440c68866fa6c98333a45b85530099
parent 4d76ce2d16f1dba4c1ec0342954cfb19a5baf558
Author: Ypnose <linuxien@legtux.org>
Date:   Thu Jul  9 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" : ""); }