summaryrefslogtreecommitdiff
path: root/doc/mach.texi
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 18:53:51 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-16 18:53:51 +0100
commit17b780b4be553833d41881a8fbe499d0c9cfbc7e (patch)
tree2eb0fff73fbb55c46ace7672c547f4a8eb0f6e79 /doc/mach.texi
parent37be0abf391f4df8155ca08442964e48a4574ea1 (diff)
task_set_name: make string parameter const
This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server side")
Diffstat (limited to 'doc/mach.texi')
-rw-r--r--doc/mach.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mach.texi b/doc/mach.texi
index cfa5189f..fc74b384 100644
--- a/doc/mach.texi
+++ b/doc/mach.texi
@@ -5089,7 +5089,7 @@ total system run time for live threads
This is a pointer to a @code{struct task_thread_times_info}.
@end deftp
-@deftypefun kern_return_t task_set_name (@w{task_t @var{target_task}}, @w{kernel_debug_name_t @var{name}})
+@deftypefun kern_return_t task_set_name (@w{task_t @var{target_task}}, @w{const_kernel_debug_name_t @var{name}})
The function @code{task_set_name} sets the name of @var{target_task}
to @var{name}, truncating it if necessary.