#28067: Fixed another typo.

This commit is contained in:
Alexander Belopolsky 2016-09-10 16:51:17 -04:00
parent 358cfd426c
commit 130bbe5fd3
1 changed files with 1 additions and 1 deletions

View File

@ -5067,7 +5067,7 @@ local_timezone_from_timestamp(time_t timestamp)
if (local_time == NULL) {
return NULL;
}
if (gmtime(&timestamp, &utc_time_tm) == NULL) {
if (gmtime_r(&timestamp, &utc_time_tm) == NULL) {
#ifdef EINVAL
if (errno == 0)
errno = EINVAL;