diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-11 23:37:57 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-11 23:37:57 +0200 |
commit | 34c5af86d9c07ee1a888e65c9756f8dd9c450515 (patch) | |
tree | 55c2638b55ed566d881e16d48a3e1a0b10a8658e /ipc | |
parent | 543576db2e6bc768634faf697fccd82596cf49aa (diff) | |
download | gnumach-34c5af86d9c07ee1a888e65c9756f8dd9c450515.tar.gz gnumach-34c5af86d9c07ee1a888e65c9756f8dd9c450515.tar.bz2 gnumach-34c5af86d9c07ee1a888e65c9756f8dd9c450515.zip |
Fix printf format
* ipc/mach_port.c (mach_port_destroy, mach_port_deallocate): Fix format.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mach_port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c index b30dcd6c..d90f5c6b 100644 --- a/ipc/mach_port.c +++ b/ipc/mach_port.c @@ -550,7 +550,7 @@ mach_port_destroy( kr = ipc_right_lookup_write(space, name, &entry); if (kr != KERN_SUCCESS) { if (MACH_PORT_VALID (name) && space == current_space()) { - printf("task %.*s destroying a bogus port %lu, most probably a bug.\n", sizeof current_task()->name, current_task()->name, name); + printf("task %.*s destroying a bogus port %lu, most probably a bug.\n", sizeof current_task()->name, current_task()->name, (unsigned long) name); if (mach_port_deallocate_debug) SoftDebugger("mach_port_deallocate"); } @@ -594,7 +594,7 @@ mach_port_deallocate( kr = ipc_right_lookup_write(space, name, &entry); if (kr != KERN_SUCCESS) { if (MACH_PORT_VALID (name) && space == current_space()) { - printf("task %.*s deallocating a bogus port %lu, most probably a bug.\n", sizeof current_task()->name, current_task()->name, name); + printf("task %.*s deallocating a bogus port %lu, most probably a bug.\n", sizeof current_task()->name, current_task()->name, (unsigned long) name); if (mach_port_deallocate_debug) SoftDebugger("mach_port_deallocate"); } |