summaryrefslogtreecommitdiff
path: root/kern/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/task.c')
-rw-r--r--kern/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/task.c b/kern/task.c
index 735b9e59..e91c192b 100644
--- a/kern/task.c
+++ b/kern/task.c
@@ -1149,7 +1149,7 @@ task_priority(
kern_return_t
task_set_name(
task_t task,
- kernel_debug_name_t name)
+ const_kernel_debug_name_t name)
{
strncpy(task->name, name, sizeof task->name - 1);
task->name[sizeof task->name - 1] = '\0';