aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/pathconf.c2
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/fcntl.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/pathconf.c b/sysdeps/unix/sysv/linux/alpha/pathconf.c
index 15910be..24d6880 100644
--- a/sysdeps/unix/sysv/linux/alpha/pathconf.c
+++ b/sysdeps/unix/sysv/linux/alpha/pathconf.c
@@ -51,7 +51,7 @@ __pathconf (const char *path, int name)
struct statfs fsbuf;
/* Determine the filesystem type. */
- if (__statfs (fd, &fsbuf) < 0)
+ if (__statfs (path, &fsbuf) < 0)
/* not possible, return the default value. */
return LINK_MAX;
diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
index a01dcae..0273470 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
@@ -49,9 +49,6 @@
#define O_NDELAY O_NONBLOCK
-/* XXX missing */
-#define O_LARGEFILE 0
-
/* Values for the second argument to `fcntl'. */
#define F_DUPFD 0 /* Duplicate file descriptor. */
#define F_GETFD 1 /* Get file descriptor flags. */