diff options
Diffstat (limited to 'random/random.c')
| -rw-r--r-- | random/random.c | 5 | 
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;  | 
