diff options
Diffstat (limited to 'time/localtime.c')
-rw-r--r-- | time/localtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/time/localtime.c b/time/localtime.c index 2a780304d6..ce243e64b4 100644 --- a/time/localtime.c +++ b/time/localtime.c @@ -50,7 +50,7 @@ __localtime_r (timer, tp) if (timer == NULL) { - errno = EINVAL; + __set_errno (EINVAL); return NULL; } |