diff options
author | Thomas Bushnell <thomas@gnu.org> | 2000-03-17 17:26:16 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 2000-03-17 17:26:16 +0000 |
commit | 166c15f084adc62b6d0411dca9f65928aee479b7 (patch) | |
tree | 6762aaa4dee8739b145792121c070609256a7996 /trans/symlink.c | |
parent | 2ebda554322e77aa2b53682c58312f21ef61a78b (diff) | |
download | hurd-166c15f084adc62b6d0411dca9f65928aee479b7.tar.gz hurd-166c15f084adc62b6d0411dca9f65928aee479b7.tar.bz2 hurd-166c15f084adc62b6d0411dca9f65928aee479b7.zip |
2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>
* symlink.c (main): Don't use MAKE_SEND in Hurd RPC.
Diffstat (limited to 'trans/symlink.c')
-rw-r--r-- | trans/symlink.c | 7 |
1 files changed, 5 insertions, 2 deletions
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) { |