From 166c15f084adc62b6d0411dca9f65928aee479b7 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Fri, 17 Mar 2000 17:26:16 +0000 Subject: 2000-03-17 Thomas Bushnell, BSG * symlink.c (main): Don't use MAKE_SEND in Hurd RPC. --- trans/symlink.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'trans/symlink.c') diff --git a/trans/symlink.c b/trans/symlink.c index 24a1a30f..6235d272 100644 --- a/trans/symlink.c +++ b/trans/symlink.c @@ -1,5 +1,5 @@ /* Translator for S_IFLNK nodes - Copyright (C) 1994 Free Software Foundation + Copyright (C) 1994, 2000 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -55,8 +55,11 @@ main (int argc, char **argv) /* Reply to our parent */ mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_RECEIVE, &control); + mach_port_insert_right (mach_task_self (), control, control, + MACH_MSG_TYPE_MAKE_SEND); error = - fsys_startup (bootstrap, 0, control, MACH_MSG_TYPE_MAKE_SEND, &realnode); + fsys_startup (bootstrap, 0, control, MACH_MSG_TYPE_COPY_SEND, &realnode); + mach_port_deallocate (mach_task_self (), control); mach_port_deallocate (mach_task_self (), bootstrap); if (error) { -- cgit v1.2.3