#28067: Fixed another typo.
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c
index 892772f..381835d 100644
--- a/Modules/_datetimemodule.c
+++ b/Modules/_datetimemodule.c
@@ -5067,7 +5067,7 @@
         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;