From d855df8a6fe93605fd7d38c12d588c8ae9e0c177 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 18 Dec 1995 18:48:23 +0000 Subject: entered into RCS --- libnetfs/dir-rename.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libnetfs') diff --git a/libnetfs/dir-rename.c b/libnetfs/dir-rename.c index 6950e78e..b23ffaa3 100644 --- a/libnetfs/dir-rename.c +++ b/libnetfs/dir-rename.c @@ -25,10 +25,10 @@ error_t netfs_S_dir_rename (struct protid *fromdiruser, char *fromname, struct protid *todiruser, char *toname) { - errort err; + error_t err; if (!fromdiruser) - return EOPRONSUPP; + return EOPNOTSUPP; if (!todiruser) return EXDEV; @@ -38,8 +38,6 @@ netfs_S_dir_rename (struct protid *fromdiruser, char *fromname, fromname, todiruser->po->np, toname); if (!err) mach_port_deallocate (mach_task_self (), todiruser->pi.port_right); + return err; } - - - -- cgit v1.2.3