summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-10 20:14:51 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-10 20:14:51 +0000
commit378175e9cd62a203ef4ba174ad2bb3f8acd7a5d4 (patch)
tree815ec5022f941bb9d0b59751d08ea9d49c232e71
parent244487b4418abbb9a695f2a8224e1b062294c92c (diff)
Formerly notify-nosenders.c.~3~
-rw-r--r--libdiskfs/notify-nosenders.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libdiskfs/notify-nosenders.c b/libdiskfs/notify-nosenders.c
index ac6cff4e..e646e287 100644
--- a/libdiskfs/notify-nosenders.c
+++ b/libdiskfs/notify-nosenders.c
@@ -15,6 +15,9 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include "priv.h"
+#include <hurd/pager.h>
+
/* Called by the kernel when a port has no more senders. We arrange
to have this sent to the port which is out of senders (NOTIFY). MSCOUNT
is the make-send count of the port when the notification was generated;
@@ -24,12 +27,12 @@ diskfs_do_seqnos_mach_notify_no_senders (mach_port_t notify,
mach_port_seqno_t seqno,
mach_port_mscount_t mscount)
{
- struct port_inf *pt;
+ struct port_info *pt;
pt = ports_get_port (notify);
if (pt->type == PT_PAGER)
- pager_no_senders ((struct pager *)upt, seqno, mscount);
+ pager_no_senders ((struct pager *)pt, seqno, mscount);
else
{
ports_done_with_port (pt);