diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index e4133f52166..88e759f0d3f 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_synch.c 8.9 (Berkeley) 5/19/95 - * $Id: kern_synch.c,v 1.38 1997/09/02 20:05:43 bde Exp $ + * $Id: kern_synch.c,v 1.39 1997/09/21 22:00:14 gibbs Exp $ */ #include "opt_ktrace.h" @@ -327,7 +327,7 @@ int tsleep(ident, priority, wmesg, timo) void *ident; int priority, timo; - char *wmesg; + const char *wmesg; { struct proc *p = curproc; int s, sig, catch = priority & PCATCH; diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 2bdd97abf3f..add0efa6b63 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)proc.h 8.15 (Berkeley) 5/19/95 - * $Id: proc.h,v 1.45 1997/10/12 20:26:03 phk Exp $ + * $Id: proc.h,v 1.46 1997/11/06 19:29:45 phk Exp $ */ #ifndef _SYS_PROC_H_ @@ -126,7 +126,7 @@ struct proc { int p_cpticks; /* Ticks of cpu time. */ fixpt_t p_pctcpu; /* %cpu for this process during p_swtime */ void *p_wchan; /* Sleep address. */ - char *p_wmesg; /* Reason for sleep. */ + const char *p_wmesg; /* Reason for sleep. */ u_int p_swtime; /* Time swapped in or out. */ u_int p_slptime; /* Time since last blocked. */ diff --git a/sys/sys/systm.h b/sys/sys/systm.h index d4867d7ce4f..474f945f82e 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)systm.h 8.7 (Berkeley) 3/29/95 - * $Id: systm.h,v 1.61 1997/10/10 18:15:47 phk Exp $ + * $Id: systm.h,v 1.62 1997/11/18 15:16:54 bde Exp $ */ #ifndef _SYS_SYSTM_H_ @@ -261,7 +261,7 @@ extern watchdog_tickle_fn wdog_tickler; * Common `proc' functions are declared here so that proc.h can be included * less often. */ -int tsleep __P((void *chan, int pri, char *wmesg, int timo)); +int tsleep __P((void *chan, int pri, const char *wmesg, int timo)); void wakeup __P((void *chan)); #endif /* !_SYS_SYSTM_H_ */