summaryrefslogtreecommitdiff
path: root/libtrivfs/io-duplicate.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-05-24 21:56:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-05-24 21:56:34 +0000
commitb2309497e27385374c2dfff2324ba889384c7787 (patch)
tree4a49db1106f45eb76ce6a311a1c9468ce2300d18 /libtrivfs/io-duplicate.c
parent7c392d532a24c9d8855fd127c9042821aa8184f1 (diff)
Formerly io-duplicate.c.~3~
Diffstat (limited to 'libtrivfs/io-duplicate.c')
-rw-r--r--libtrivfs/io-duplicate.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libtrivfs/io-duplicate.c b/libtrivfs/io-duplicate.c
index 9cdefa71..6cd50966 100644
--- a/libtrivfs/io-duplicate.c
+++ b/libtrivfs/io-duplicate.c
@@ -20,18 +20,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Written by Michael I. Bushnell. */
#include "priv.h"
+#include "io_S.h"
-error_t
-trivfs_S_io_duplicate (struct protid *cred,
+kern_return_t
+trivfs_S_io_duplicate (struct trivfs_protid *cred,
mach_port_t *newport,
mach_msg_type_name_t *newporttype)
{
- struct protid *newcred;
+ struct trivfs_protid *newcred;
if (!cred)
return EOPNOTSUPP;
- newcred = ports_allocate_port (sizeof (struct protid),
+ newcred = ports_allocate_port (sizeof (struct trivfs_protid),
trivfs_protid_porttype);
newcred->realnode = cred->realnode;
newcred->isroot = cred->isroot;