summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/kthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/kthread.h')
-rw-r--r--freebsd/sys/sys/kthread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/freebsd/sys/sys/kthread.h b/freebsd/sys/sys/kthread.h
index 4911eccc..b6304f52 100644
--- a/freebsd/sys/sys/kthread.h
+++ b/freebsd/sys/sys/kthread.h
@@ -37,14 +37,14 @@
* Note: global_procpp may be NULL for no global save area.
*/
struct kproc_desc {
- char *arg0; /* arg 0 (for 'ps' listing) */
- void (*func)(void); /* "main" for kernel process */
+ const char *arg0; /* arg 0 (for 'ps' listing) */
+ void (*func)(void); /* "main" for kernel process */
struct proc **global_procpp; /* ptr to proc ptr save area */
};
/* A kernel thread descriptor; used to start "internal" daemons. */
struct kthread_desc {
- char *arg0; /* arg 0 (for 'ps' listing) */
+ const char *arg0; /* arg 0 (for 'ps' listing) */
void (*func)(void); /* "main" for kernel thread */
struct thread **global_threadpp; /* ptr to thread ptr save area */
};