diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-30 22:33:31 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-30 22:33:31 +0000 |
| commit | 6ef925c28235f73e3a054a61717ea40fcd4ffd98 (patch) | |
| tree | 4f35ecedae6b2cc7897fde7589e2f29efe56fc1d | |
| parent | 7b5a5198fae4055cef258e1178d1df9518b93341 (diff) | |
| download | busybox-w32-6ef925c28235f73e3a054a61717ea40fcd4ffd98.tar.gz busybox-w32-6ef925c28235f73e3a054a61717ea40fcd4ffd98.tar.bz2 busybox-w32-6ef925c28235f73e3a054a61717ea40fcd4ffd98.zip | |
make certain we dereference the pointer as a time_t, esp on x86_64
where it might otherwise not be dereferenced as such by default
git-svn-id: svn://busybox.net/trunk/busybox@13730 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | miscutils/last.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/last.c b/miscutils/last.c index 86613bf27..d7ce5e775 100644 --- a/miscutils/last.c +++ b/miscutils/last.c | |||
| @@ -100,7 +100,7 @@ extern int last_main(int argc, char **argv) | |||
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | printf("%-10s %-14s %-18s %-12.12s\n", ut.ut_user, ut.ut_line, ut.ut_host, | 102 | printf("%-10s %-14s %-18s %-12.12s\n", ut.ut_user, ut.ut_line, ut.ut_host, |
| 103 | ctime(&(ut.ut_tv.tv_sec)) + 4); | 103 | ctime((time_t *)&(ut.ut_tv.tv_sec)) + 4); |
| 104 | } | 104 | } |
| 105 | 105 | ||
| 106 | bb_fflush_stdout_and_exit(EXIT_SUCCESS); | 106 | bb_fflush_stdout_and_exit(EXIT_SUCCESS); |
