aboutsummaryrefslogtreecommitdiff
path: root/time/localtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/localtime.c')
-rw-r--r--time/localtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/localtime.c b/time/localtime.c
index 2a78030..ce243e6 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;
}