aboutsummaryrefslogtreecommitdiff
path: root/libtrivfs/io-pathconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/io-pathconf.c')
-rw-r--r--libtrivfs/io-pathconf.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/libtrivfs/io-pathconf.c b/libtrivfs/io-pathconf.c
index 658e249c..51d4e094 100644
--- a/libtrivfs/io-pathconf.c
+++ b/libtrivfs/io-pathconf.c
@@ -1,5 +1,5 @@
-/*
- Copyright (C) 1994 Free Software Foundation
+/*
+ Copyright (C) 1994,96,2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -16,7 +16,6 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
-#include "io_S.h"
kern_return_t
trivfs_S_io_pathconf (struct trivfs_protid *cred,
@@ -24,10 +23,7 @@ trivfs_S_io_pathconf (struct trivfs_protid *cred,
int name, int *val)
{
if (cred)
- {
- *val = 0;
- return 0;
- }
+ return io_pathconf (cred->realnode, name, val);
else
return EOPNOTSUPP;
}