From 40d433fd1ca3aedac58a281f982725bfa9f77997 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 26 Nov 2014 12:12:27 +0100 Subject: Revert "random: fix a receiver lookup" This reverts "8927fbd63e29005ddb9b2c2264046089bf669857". The change mistakenly adds mutators for the `startup' protocol, but the server routine is for the `startup_notify' protocol. --- random/random.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'random/random.c') diff --git a/random/random.c b/random/random.c index 6eea3631..15be3831 100644 --- a/random/random.c +++ b/random/random.c @@ -537,8 +537,11 @@ struct port_class *shutdown_notify_class; /* The system is going down; destroy all the extant port rights. That will cause net channels and such to close promptly. */ error_t -S_startup_dosync (struct port_info *inpi) +S_startup_dosync (mach_port_t handle) { + struct port_info *inpi = ports_lookup_port (fsys->pi.bucket, handle, + shutdown_notify_class); + if (!inpi) return EOPNOTSUPP; -- cgit v1.2.3