diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-11 23:44:55 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-08-11 23:44:55 +0200 |
commit | 1f244038a19b6405d313a81d520646ab0cb8a580 (patch) | |
tree | 262d391ba299180d3e67f4ec22b41fa3ee3ee3d2 /kern | |
parent | be3a664756c78cce3c9c02d4746da4f79b18fec7 (diff) | |
download | gnumach-1f244038a19b6405d313a81d520646ab0cb8a580.tar.gz gnumach-1f244038a19b6405d313a81d520646ab0cb8a580.tar.bz2 gnumach-1f244038a19b6405d313a81d520646ab0cb8a580.zip |
Fix format
* kern/task.c (task_create_kernel): Fix passing string size.
Diffstat (limited to 'kern')
-rw-r--r-- | kern/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/task.c b/kern/task.c index 57ad9849..735b9e59 100644 --- a/kern/task.c +++ b/kern/task.c @@ -202,7 +202,7 @@ task_create_kernel( new_task); else snprintf (new_task->name, sizeof new_task->name, "(%.*s)", - sizeof new_task->name - 3, parent_task->name); + (int) (sizeof new_task->name - 3), parent_task->name); if (new_task_notification != NULL) { task_reference (new_task); |