summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
Diffstat (limited to 'libports')
-rw-r--r--libports/transfer-right.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libports/transfer-right.c b/libports/transfer-right.c
index e313f71f..72488a99 100644
--- a/libports/transfer-right.c
+++ b/libports/transfer-right.c
@@ -77,7 +77,8 @@ ports_transfer_right (void *tostruct,
if (port)
{
- hurd_ihash_add (&topi->bucket->htable, port, topi);
+ err = hurd_ihash_add (&topi->bucket->htable, port, topi);
+ assert_perror (err);
if (topi->bucket != frompi->bucket)
{
err = mach_port_move_member (mach_task_self (), port,