summaryrefslogtreecommitdiff
path: root/libdiskfs/file-exec.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-05-05 13:14:39 +0000
committerRoland McGrath <roland@gnu.org>1994-05-05 13:14:39 +0000
commite98d8753bbf33056259ee80c2125acaf986f7364 (patch)
treef147af12fad583b2aa21caa7ac75cb5a5dd8000f /libdiskfs/file-exec.c
parent6f78464dd86481c46811130e151c8115ad966dd3 (diff)
Formerly file-exec.c.~6~
Diffstat (limited to 'libdiskfs/file-exec.c')
-rw-r--r--libdiskfs/file-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c
index 13569d40..a6adffe9 100644
--- a/libdiskfs/file-exec.c
+++ b/libdiskfs/file-exec.c
@@ -25,7 +25,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <fcntlbits.h>
#include <hurd/exec.h>
-error_t
+kern_return_t
diskfs_S_file_exec (struct protid *cred,
task_t task,
int flags,
@@ -75,7 +75,7 @@ diskfs_S_file_exec (struct protid *cred,
(diskfs_make_protid
(diskfs_make_peropen (np, O_READ),
cred->uids, cred->nuids, cred->gids, cred->ngids))),
- MACH_PORT_MAKE_SEND,
+ MACH_MSG_TYPE_MAKE_SEND,
task, flags, argv, argvlen, envp, envplen,
fds, MACH_MSG_TYPE_MOVE_SEND, fdslen,
portarray, MACH_MSG_TYPE_MOVE_SEND, portarraylen,