summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-17 10:32:21 +0000
committerRoland McGrath <roland@gnu.org>2000-03-17 10:32:21 +0000
commit6882534f6a988db8627793193ca183a080dd515d (patch)
treee5beecdd575eaf4e9e1b90bac3d99c2956cc4f25 /term
parent522053ed2410785c146fd1ff4ada24f9641ad4f5 (diff)
2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
* users.c (send_signal): Use ports_get_send_right.
Diffstat (limited to 'term')
-rw-r--r--term/users.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/term/users.c b/term/users.c
index 1168ca10..1265b2fe 100644
--- a/term/users.c
+++ b/term/users.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 96, 97, 98, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,98,99,2000 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -2122,9 +2122,7 @@ send_signal (int signo)
if (!(termflags & NO_OWNER))
{
- right = ports_get_right (cttyid);
- mach_port_insert_right (mach_task_self (), right, right,
- MACH_MSG_TYPE_MAKE_SEND);
+ right = ports_get_send_right (cttyid);
report_sig_start ();
mutex_unlock (&global_lock);
hurd_sig_post (foreground_id, signo, right);