#28067: Fixed another typo.
This commit is contained in:
parent
358cfd426c
commit
130bbe5fd3
|
@ -5067,7 +5067,7 @@ local_timezone_from_timestamp(time_t timestamp)
|
||||||
if (local_time == NULL) {
|
if (local_time == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (gmtime(×tamp, &utc_time_tm) == NULL) {
|
if (gmtime_r(×tamp, &utc_time_tm) == NULL) {
|
||||||
#ifdef EINVAL
|
#ifdef EINVAL
|
||||||
if (errno == 0)
|
if (errno == 0)
|
||||||
errno = EINVAL;
|
errno = EINVAL;
|
||||||
|
|
Loading…
Reference in New Issue