diff options
-rw-r--r-- | libtrivfs/file-reparent.c | 13 |
1 files changed, 5 insertions, 8 deletions
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; } |