summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-03 18:16:15 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-03 18:16:15 +0000
commit4ee58f8a7f53edd4d1990e43101c11f84554daa6 (patch)
tree3ebc07bc3692390d202482fa012bb7bad08a201f /libnetfs
parent4cfcbfd951b6665133b2c619015fcba58e5d6eb8 (diff)
(netfs_S_dir_mkfile): Return right with MAKE_SEND, not COPY_SEND.
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/dir-mkfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/dir-mkfile.c b/libnetfs/dir-mkfile.c
index 1be5566d..89212daa 100644
--- a/libnetfs/dir-mkfile.c
+++ b/libnetfs/dir-mkfile.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -41,7 +41,7 @@ netfs_S_dir_mkfile (struct protid *diruser, int flags, mode_t mode,
diruser->po->dotdotport),
netfs_copy_credential (diruser->credential));
*newfile = ports_get_right (newpi);
- *newfiletype = MACH_MSG_TYPE_COPY_SEND;
+ *newfiletype = MACH_MSG_TYPE_MAKE_SEND;
ports_port_deref (newpi);
netfs_nput (np);
return 0;