diff options
Diffstat (limited to 'time/asctime.c')
-rw-r--r-- | time/asctime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/time/asctime.c b/time/asctime.c index bb20a3a..25bc9de 100644 --- a/time/asctime.c +++ b/time/asctime.c @@ -39,7 +39,7 @@ __asctime_r (const struct tm *tp, char *buf) { if (tp == NULL) { - errno = EINVAL; + __set_errno (EINVAL); return NULL; } |