diff options
author | Roland McGrath <roland@gnu.org> | 1995-07-25 20:44:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-07-25 20:44:48 +0000 |
commit | ff48a63c86133fb352392c60b525d6aaf2d836a2 (patch) | |
tree | 4ebfcac559dd9e9ef48ea58894756542b75fed46 /sysdeps/mach/hurd/pathconf.c | |
parent | 4356cfd7ad089329066cc2ebaaf9e1e982762537 (diff) | |
download | glibc-ff48a63c86133fb352392c60b525d6aaf2d836a2.tar.gz glibc-ff48a63c86133fb352392c60b525d6aaf2d836a2.tar.xz glibc-ff48a63c86133fb352392c60b525d6aaf2d836a2.zip |
* sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int.
Diffstat (limited to 'sysdeps/mach/hurd/pathconf.c')
-rw-r--r-- | sysdeps/mach/hurd/pathconf.c | 2 |
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); |