From 688a82ff324403dd2b439755a3d95773e691be69 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 6 Dec 2022 23:57:08 -0500 Subject: Update kern/ directory to use mach_port_name_t. Make it clear where exactly we use port names vs port addresses. Message-Id: --- kern/syscall_sw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/syscall_sw.c') diff --git a/kern/syscall_sw.c b/kern/syscall_sw.c index a383e467..3cdefde1 100644 --- a/kern/syscall_sw.c +++ b/kern/syscall_sw.c @@ -60,7 +60,7 @@ boolean_t kern_invalid_debug = FALSE; -mach_port_t null_port(void) +mach_port_name_t null_port(void) { if (kern_invalid_debug) SoftDebugger("null_port mach trap"); return(MACH_PORT_NULL); -- cgit v1.2.3