aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/isfdtype.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/isfdtype.c')
-rw-r--r--sysdeps/posix/isfdtype.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/posix/isfdtype.c b/sysdeps/posix/isfdtype.c
index ec4568e460..dc19d99861 100644
--- a/sysdeps/posix/isfdtype.c
+++ b/sysdeps/posix/isfdtype.c
@@ -1,5 +1,5 @@
/* Determine whether descriptor has given property.
- Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,12 +25,12 @@
int
isfdtype (int fildes, int fdtype)
{
- struct stat st;
+ struct stat64 st;
int result;
{
int save_error = errno;
- result = fstat (fildes, &st);
+ result = fstat64 (fildes, &st);
__set_errno (save_error);
}