Skip to content

Commit 8e230d3

Browse files
committed
Drop redundant initial call to localtime_r()
Fixes #94 Signed-off-by: Joachim Wiberg <[email protected]>
1 parent b45eb48 commit 8e230d3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/syslogd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,6 @@ void printsys(char *msg)
15081508
*/
15091509
if (KeepKernTime || !sys_seqno_init) {
15101510
now = boot_time + ustime / 1000000;
1511-
localtime_r(&now, &buffer.timestamp.tm);
15121511
} else {
15131512
struct timeval tv;
15141513

0 commit comments

Comments
 (0)