aboutsummaryrefslogtreecommitdiff
path: root/ipc/ipc_machdep.h
diff options
context:
space:
mode:
authorLuca Dariz <luca@orpolo.org>2023-02-12 18:03:12 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-12 18:29:59 +0100
commit7966b7aa0705d043a905a7617f696015a25c7446 (patch)
tree74826d2a5114795ba88d508ca51722a6137d319a /ipc/ipc_machdep.h
parent5fdc928d3d29fdc93ad00cea5f5c877a19013d44 (diff)
downloadgnumach-7966b7aa0705d043a905a7617f696015a25c7446.tar.gz
gnumach-7966b7aa0705d043a905a7617f696015a25c7446.tar.bz2
gnumach-7966b7aa0705d043a905a7617f696015a25c7446.zip
fix port name size in notifications
* ipc/ipc_machdep.h: define PORT_NAME_T_SIZE_IN_BITS * ipc/ipc_notify.c: fix port name size in notification message templates Message-Id: <20230212170313.1501404-6-luca@orpolo.org>
Diffstat (limited to 'ipc/ipc_machdep.h')
-rwxr-xr-xipc/ipc_machdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_machdep.h b/ipc/ipc_machdep.h
index 29878dc9..2871fc31 100755
--- a/ipc/ipc_machdep.h
+++ b/ipc/ipc_machdep.h
@@ -34,5 +34,6 @@
*/
#define PORT_T_SIZE_IN_BITS (sizeof(mach_port_t)*8)
+#define PORT_NAME_T_SIZE_IN_BITS (sizeof(mach_port_name_t)*8)
#endif /* _IPC_IPC_MACHDEP_H_ */