aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/posix/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
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