aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-07-25 20:44:48 +0000
committerRoland McGrath <roland@gnu.org>1995-07-25 20:44:48 +0000
commitff48a63c86133fb352392c60b525d6aaf2d836a2 (patch)
tree4ebfcac559dd9e9ef48ea58894756542b75fed46 /sysdeps
parent4356cfd7ad089329066cc2ebaaf9e1e982762537 (diff)
downloadglibc-ff48a63c86133fb352392c60b525d6aaf2d836a2.zip
glibc-ff48a63c86133fb352392c60b525d6aaf2d836a2.tar.gz
glibc-ff48a63c86133fb352392c60b525d6aaf2d836a2.tar.bz2
* sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
Diffstat (limited to 'sysdeps')
-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 315ab1f..f7923ae 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);