socket: Use 64 bit stat for isfdtype (BZ# 29209)

This is a missing spot initially from 52a5fe70a2.

Checked on i686-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2022-05-31 12:28:20 -03:00
parent 6e7137f28c
commit 87f1ec12e7
1 changed files with 2 additions and 2 deletions

View File

@ -24,12 +24,12 @@
int int
isfdtype (int fildes, int fdtype) isfdtype (int fildes, int fdtype)
{ {
struct stat64 st; struct __stat64_t64 st;
int result; int result;
{ {
int save_error = errno; int save_error = errno;
result = __fstat64 (fildes, &st); result = __fstat64_time64 (fildes, &st);
__set_errno (save_error); __set_errno (save_error);
} }