]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - time/localtime.c
update from main archive
[thirdparty/glibc.git] / time / localtime.c
index 2a780304d62fb13d6259793231f48ff61de5a03a..ce243e64b4cd55daa7575ce88e2769eb10b60d39 100644 (file)
@@ -50,7 +50,7 @@ __localtime_r (timer, tp)
 
   if (timer == NULL)
     {
-      errno = EINVAL;
+      __set_errno (EINVAL);
       return NULL;
     }