last: spaces to tabs

This commit is contained in:
Hiltjo Posthuma 2015-02-20 16:08:55 +01:00 committed by sin
parent faa6fe28e2
commit 314f2a77f0

2
last.c
View File

@ -46,7 +46,7 @@ main(int argc, char **argv)
prog = basename(argv0);
file = (!strcmp(prog, "last")) ? WTMP_PATH : BTMP_PATH;
if ((fp = fopen(file, "r")) == NULL)
eprintf("fopen %s:", file);
eprintf("fopen %s:", file);
while (fread(&ut, sizeof(ut), 1, fp) == 1) {
if (ut.ut_type != USER_PROCESS ||