From ff48a63c86133fb352392c60b525d6aaf2d836a2 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 25 Jul 1995 20:44:48 +0000 Subject: * sysdeps/mach/hurd/pathconf.c: Declare VALUE as int, not long int. --- sysdeps/mach/hurd/pathconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps') 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); -- cgit 1.4.1