diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-11 23:45:49 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-11 23:45:49 +0200 |
commit | 9da44fa59ceb4c0994325744c88822456ec99081 (patch) | |
tree | f9ed3051314f40bda1db67763a7767e59b248437 /ipc | |
parent | 1f244038a19b6405d313a81d520646ab0cb8a580 (diff) | |
download | gnumach-9da44fa59ceb4c0994325744c88822456ec99081.tar.gz gnumach-9da44fa59ceb4c0994325744c88822456ec99081.tar.bz2 gnumach-9da44fa59ceb4c0994325744c88822456ec99081.zip |
Fix format
* ipc/mach_port.c (mach_port_mod_refs): Fix passing string size.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mach_port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mach_port.c b/ipc/mach_port.c index d90f5c6b..b1379b79 100644 --- a/ipc/mach_port.c +++ b/ipc/mach_port.c @@ -718,7 +718,7 @@ mach_port_mod_refs( if (MACH_PORT_VALID (name) && space == current_space()) { printf("task %.*s %screasing a bogus port " "%lu by %d, most probably a bug.\n", - sizeof current_task()->name, + (int) (sizeof current_task()->name), current_task()->name, delta < 0 ? "de" : "in", name, delta < 0 ? -delta : delta); |