summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
Diffstat (limited to 'libports')
-rw-r--r--libports/reallocate-port.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libports/reallocate-port.c b/libports/reallocate-port.c
index b2977dd3..d2adaebb 100644
--- a/libports/reallocate-port.c
+++ b/libports/reallocate-port.c
@@ -48,7 +48,8 @@ ports_reallocate_port (void *portstruct)
}
pi->cancel_threshold = 0;
pi->mscount = 0;
- hurd_ihash_add (&pi->bucket->htable, pi->port_right, pi);
+ err = hurd_ihash_add (&pi->bucket->htable, pi->port_right, pi);
+ assert_perror (err);
pthread_mutex_unlock (&_ports_lock);
err = mach_port_move_member (mach_task_self (), pi->port_right,