summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-27 15:11:56 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-27 15:11:56 +0000
commit886df622bee1fc15147eba65fdefcef2eb5ae2fd (patch)
tree498a5476bbb12ba63c548e21ae6a1be07b985092
parent39a1c5546695f933f8479d13d87a7a86aed99000 (diff)
(trivfs_do_mach_notify_no_senders): Use new ports interface.
-rw-r--r--libtrivfs/nosenders.c6
1 files changed, 3 insertions, 3 deletions
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;
}