aboutsummaryrefslogtreecommitdiff
path: root/include/mach/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach/port.h')
-rw-r--r--include/mach/port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mach/port.h b/include/mach/port.h
index caa6b713..e38be614 100644
--- a/include/mach/port.h
+++ b/include/mach/port.h
@@ -70,7 +70,7 @@ typedef int *rpc_signature_info_t;
* that a port right was present, but it died.
*/
-#define MACH_PORT_NULL ((mach_port_t) 0)
+#define MACH_PORT_NULL 0 /* works with both user and kernel ports */
#define MACH_PORT_DEAD ((mach_port_t) ~0)
#define MACH_PORT_VALID(name) \