diff options
Diffstat (limited to 'usr.bin/last')
-rw-r--r-- | usr.bin/last/last.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index 79d6010..d449679 100644 --- a/usr.bin/last/last.c +++ b/usr.bin/last/last.c @@ -352,13 +352,10 @@ wtmp() delta / 86400, ct); } } - LIST_REMOVE(tt, list); - free(tt); if (maxrec != -1 && !--maxrec) return; - } else { - tt->logout = bp->ut_time; } + tt->logout = bp->ut_time; } } tm = localtime(&buf[0].ut_time); |