summaryrefslogtreecommitdiff
path: root/libports/transfer-right.c
diff options
context:
space:
mode:
Diffstat (limited to 'libports/transfer-right.c')
-rw-r--r--libports/transfer-right.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/transfer-right.c b/libports/transfer-right.c
index 3f482905..776a8d2b 100644
--- a/libports/transfer-right.c
+++ b/libports/transfer-right.c
@@ -72,7 +72,7 @@ ports_transfer_right (void *tostruct,
else if (((topi->flags & PORT_HAS_SENDRIGHTS) == 0) && hassendrights)
{
topi->flags |= PORT_HAS_SENDRIGHTS;
- topi->refcnt++;
+ refcounts_ref (&topi->refcounts, NULL);
}
}