Browse Source

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

This is a missing spot initially from 52a5fe70a2.

Checked on i686-linux-gnu.
arm/morello/v1
Adhemerval Zanella 4 years ago
parent
commit
87f1ec12e7
  1. 4
      sysdeps/posix/isfdtype.c

4
sysdeps/posix/isfdtype.c

@ -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);
}

Loading…
Cancel
Save