diff options
Diffstat (limited to 'libports/reallocate-from-external.c')
-rw-r--r-- | libports/reallocate-from-external.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/reallocate-from-external.c b/libports/reallocate-from-external.c index 9944b396..7205bd9b 100644 --- a/libports/reallocate-from-external.c +++ b/libports/reallocate-from-external.c @@ -56,7 +56,7 @@ ports_reallocate_from_external (void *portstruct, mach_port_t receive) else if (((pi->flags & PORT_HAS_SENDRIGHTS) == 0) && stat.mps_srights) { pi->flags |= PORT_HAS_SENDRIGHTS; - pi->refcnt++; + refcounts_ref (&pi->refcounts, NULL); } pi->port_right = receive; |