diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-15 21:25:12 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-15 21:25:12 +0100 |
commit | 81a3dd497d6231b157b3fb93a179f6432dc66df1 (patch) | |
tree | 5229d22cba7fb8f1273dca49f1bf5a7dc2826951 /libmachdev | |
parent | 172045ae11945db82b4f72531437fda6ad4f451d (diff) | |
download | hurd-81a3dd497d6231b157b3fb93a179f6432dc66df1.tar.gz hurd-81a3dd497d6231b157b3fb93a179f6432dc66df1.tar.bz2 hurd-81a3dd497d6231b157b3fb93a179f6432dc66df1.zip |
libmachdev: Fix spurious send reference
* libmachdev/trivfs_server.c (trivfs_S_fsys_getpriv): Move the
just-copied send rights instead of copying them again.
Diffstat (limited to 'libmachdev')
-rw-r--r-- | libmachdev/trivfs_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmachdev/trivfs_server.c b/libmachdev/trivfs_server.c index b675b4be..3ab15049 100644 --- a/libmachdev/trivfs_server.c +++ b/libmachdev/trivfs_server.c @@ -347,7 +347,7 @@ trivfs_S_fsys_getpriv (struct diskfs_control *init_bootstrap_port, { *dev_master = right; *fstask = mach_task_self (); - *hp_type = *dm_type = MACH_MSG_TYPE_COPY_SEND; + *hp_type = *dm_type = MACH_MSG_TYPE_MOVE_SEND; *task_type = MACH_MSG_TYPE_COPY_SEND; } return err; |