summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-11-11 22:30:56 +0000
committerart <art@openbsd.org>2001-11-11 22:30:56 +0000
commit19a2e240bd8b4480b46a8f36797f06a22010434a (patch)
tree397d389ff983fa35359c7004880adc126fe68afc /sys/kern/kern_synch.c
parentRemove local defines for SCSI status codes and use those now (diff)
downloadwireguard-openbsd-19a2e240bd8b4480b46a8f36797f06a22010434a.tar.xz
wireguard-openbsd-19a2e240bd8b4480b46a8f36797f06a22010434a.zip
Let ltsleep take a const wmesg.
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 57c9e4c6b2e..6bb1cc9fba2 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_synch.c,v 1.39 2001/11/06 19:53:20 miod Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.40 2001/11/11 22:30:56 art Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*-
@@ -344,7 +344,7 @@ int
ltsleep(ident, priority, wmesg, timo, interlock)
void *ident;
int priority, timo;
- char *wmesg;
+ const char *wmesg;
volatile struct simplelock *interlock;
{
struct proc *p = curproc;