From 886df622bee1fc15147eba65fdefcef2eb5ae2fd Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 27 Jun 1995 15:11:56 +0000 Subject: (trivfs_do_mach_notify_no_senders): Use new ports interface. --- libtrivfs/nosenders.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libtrivfs') diff --git a/libtrivfs/nosenders.c b/libtrivfs/nosenders.c index 6bb933f5..2b4abef6 100644 --- a/libtrivfs/nosenders.c +++ b/libtrivfs/nosenders.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1993, 1994 Free Software Foundation + Copyright (C) 1993, 1994, 1995 Free Software Foundation This file is part of the GNU Hurd. @@ -31,13 +31,13 @@ trivfs_do_mach_notify_no_senders (mach_port_t notify, { struct port_info *pt; - pt = ports_get_port (notify); + pt = ports_lookup_port (0, notify, 0); if (!pt) return EOPNOTSUPP; ports_no_senders (pt, mscount); - ports_done_with_port (pt); + ports_port_deref (pt); return 0; } -- cgit v1.2.3