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 dfbafbff09..073cf84461 100644 --- a/time/asctime.c +++ b/time/asctime.c @@ -46,7 +46,7 @@ asctime_internal (const struct tm *tp, char *buf, size_t buflen) this would mean the output needs more space. This would not be a problem if the 'asctime_r' interface would be defined sanely and a buffer size would be passed. */ - if (__builtin_expect (tp->tm_year > INT_MAX - 1900, 0)) + if (__glibc_unlikely (tp->tm_year > INT_MAX - 1900)) { eoverflow: __set_errno (EOVERFLOW); |