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

View File

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