diff options
-rw-r--r-- | ipc/ipc_port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_port.c b/ipc/ipc_port.c index 89a5d67..86a4ee2 100644 --- a/ipc/ipc_port.c +++ b/ipc/ipc_port.c @@ -1178,11 +1178,11 @@ ipc_port_alloc_special(ipc_space_t space) { ipc_port_t port; - port = (ipc_port_t) io_alloc(IOT_PORT); + port = ip_alloc(); if (port == IP_NULL) return IP_NULL; - io_lock_init(&port->ip_object); + ip_lock_init(port); port->ip_references = 1; port->ip_object.io_bits = io_makebits(TRUE, IOT_PORT, 0); |