diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-05-25 22:53:38 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-05-25 22:53:38 +0000 |
commit | a8e4effe5fd9fb5ef11cba9e970dad3e4b7bbb9a (patch) | |
tree | 9cfd29eb80baef5c4c26cdb362783bd7caf212af /libtrivfs | |
parent | 6ee819b4c781e4baa863612ae2c6477cc7b76b53 (diff) |
Formerly nosenders.c.~3~
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/nosenders.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libtrivfs/nosenders.c b/libtrivfs/nosenders.c index 8e393567..9dd25056 100644 --- a/libtrivfs/nosenders.c +++ b/libtrivfs/nosenders.c @@ -20,6 +20,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Written by Michael I. Bushnell. */ #include "priv.h" +#include "notify_S.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 @@ -31,6 +32,8 @@ trivfs_do_mach_notify_no_senders (mach_port_t notify, struct port_info *pt; pt = ports_get_port (notify); + if (!pt) + return EOPNOTSUPP; ports_no_senders (pt, mscount); |