aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/pathconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/pathconf.c')
-rw-r--r--sysdeps/mach/hurd/pathconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/pathconf.c b/sysdeps/mach/hurd/pathconf.c
index 315ab1f97e..f7923ae967 100644
--- a/sysdeps/mach/hurd/pathconf.c
+++ b/sysdeps/mach/hurd/pathconf.c
@@ -27,8 +27,8 @@ long int
__pathconf (const char *file, int name)
{
error_t err;
+ int value; /* RPC returns an `int', not a `long int'. */
file_t port = __file_name_lookup (file, 0, 0);
- long int value;
if (port == MACH_PORT_NULL)
return -1L;
err = __file_pathconf (port, name, &value);