diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 2638736d17..81e928ab91 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -1885,7 +1885,7 @@ save_gaiconf_mtime (const struct stat64 *st) static inline bool check_gaiconf_mtime (const struct stat64 *st) { - return st->mtime == gaiconf_mtime; + return st->st_mtime == gaiconf_mtime; } #endif