Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 01f61aa

Browse files
authored
Merge pull request #73 from Thog/fix/gettimeofday
Fix gettimeofday
2 parents e152ae6 + d2bc151 commit 01f61aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/syscalls/syscalls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ int _gettimeofday_r(struct _reent *reent, struct timeval *__restrict p, void *__
186186
if(!time_initialized) {
187187
time_init();
188188
time_initialized = true;
189-
atexit(time_finalize());
189+
atexit(time_finalize);
190190
}
191191

192192
if ((res = time_get_current_time(&time)) != RESULT_OK) {

0 commit comments

Comments
 (0)