diff options
Diffstat (limited to 'nuttx/lib/time/lib_time.c')
-rw-r--r-- | nuttx/lib/time/lib_time.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/lib/time/lib_time.c b/nuttx/lib/time/lib_time.c index 0ddd7993f..02853132b 100644 --- a/nuttx/lib/time/lib_time.c +++ b/nuttx/lib/time/lib_time.c @@ -100,8 +100,9 @@ time_t time(time_t *tloc) { *tloc = tp.tv_sec; } + return tp.tv_sec; - } + } return (time_t)ERROR; } |