diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-23 15:30:42 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-28 13:13:32 +0100 |
commit | c62b1edd42d9522d6277d5ca648f2e4a4214341c (patch) | |
tree | d461f661c2438147024d5d966dd89aabbe7bf3d1 /libports | |
parent | 4353f92301cd903a00831a8272d149c45bbb5b8c (diff) |
libports: improve error handling in ports_transfer_right
* libports/transfer-right.c (ports_transfer_right): Improve error handling.
Diffstat (limited to 'libports')
-rw-r--r-- | libports/transfer-right.c | 3 |
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, |