diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-12-18 18:48:23 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-12-18 18:48:23 +0000 |
commit | d855df8a6fe93605fd7d38c12d588c8ae9e0c177 (patch) | |
tree | 2ff02baf1a0191fc661a79839a679c28a34b0f2e /libnetfs | |
parent | c500eb7208e61eaf0e89307e558e84533a357a3a (diff) |
entered into RCS
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/dir-rename.c | 8 |
1 files changed, 3 insertions, 5 deletions
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; } - - - |