From 5c0f7462b1156ef7dde11a4724663e616100f3cf Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 14 Feb 1997 01:33:07 +0000 Subject: Whoops, implement correctly. --- libtrivfs/file-reparent.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'libtrivfs/file-reparent.c') diff --git a/libtrivfs/file-reparent.c b/libtrivfs/file-reparent.c index 8eb84dc4..d2e06c83 100644 --- a/libtrivfs/file-reparent.c +++ b/libtrivfs/file-reparent.c @@ -22,13 +22,10 @@ #include "fs_S.h" error_t -trivfs_S_dir_reparent (struct trivfs_protid *cred, - mach_port_t reply, mach_msg_type_name_t reply_type, - mach_port_t parent, - mach_port_t *new_dir, mach_msg_type_name_t *new_dir_type) +trivfs_S_file_reparent (struct trivfs_protid *cred, + mach_port_t reply, mach_msg_type_name_t reply_type, + mach_port_t parent, + mach_port_t *new, mach_msg_type_name_t *new_type) { - if (cred) - return ENOTDIR; /* Should never be a directory */ - else - return EOPNOTSUPP; + return EOPNOTSUPP; } -- cgit v1.2.3