summaryrefslogtreecommitdiff
path: root/random/random.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-26 12:12:27 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-28 12:17:52 +0100
commit40d433fd1ca3aedac58a281f982725bfa9f77997 (patch)
tree298f6aeb0f6ce8705abb7bdd766609da59d0e881 /random/random.c
parent7ca4c02513d7c6998d9c92dafb3c0fcbe8d6dd6d (diff)
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.
Diffstat (limited to 'random/random.c')
-rw-r--r--random/random.c5
1 files changed, 4 insertions, 1 deletions
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;