projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: initial stab at brace expansion support
[oweals/busybox.git]
/
miscutils
/
last_fancy.c
diff --git
a/miscutils/last_fancy.c
b/miscutils/last_fancy.c
index b4ae5740c8de8f0856e0848bac0cc9e0e593299a..f3ea0375d3006fdec45a84d650a284e06b1300a8 100644
(file)
--- a/
miscutils/last_fancy.c
+++ b/
miscutils/last_fancy.c
@@
-52,7
+52,7
@@
static void show_entry(struct utmp *ut, int state, time_t dur_secs)
/* manpages say ut_tv.tv_sec *is* time_t,
* but some systems have it wrong */
-
tmp = ut->ut_tv.tv_sec;
+ tmp = ut->ut_tv.tv_sec;
safe_strncpy(login_time, ctime(&tmp), 17);
snprintf(logout_time, 8, "- %s", ctime(&dur_secs) + 11);