summaryrefslogtreecommitdiff
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-08 07:25:30 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-08 07:25:30 +0000
commitfdf44b65203c56f25231a87fc67e2ba11c642d50 (patch)
treeb4485783fdf024f28d2451c04b06868689341939 /sys/kern/kern_synch.c
parentd43c13703b349fd33334cf3659b5222854538b2b (diff)
semicolon is not always what it seems, replace w/ a \n in asm labels
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 6bb1cc9fba2..220e3b01bf1 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_synch.c,v 1.40 2001/11/11 22:30:56 art Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.41 2002/03/08 07:25:29 mickey Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*-
@@ -427,7 +427,7 @@ ltsleep(ident, priority, wmesg, timo, interlock)
mi_switch();
#ifdef DDB
/* handy breakpoint location after process "wakes" */
- __asm(".globl bpendtsleep ; bpendtsleep:");
+ __asm(".globl bpendtsleep\nbpendtsleep:");
#endif
resume:
curpriority = p->p_usrpri;
@@ -545,7 +545,7 @@ sleep(ident, priority)
mi_switch();
#ifdef DDB
/* handy breakpoint location after process "wakes" */
- __asm(".globl bpendsleep ; bpendsleep:");
+ __asm(".globl bpendsleep\nbpendsleep:");
#endif
#ifdef KTRACE
if (KTRPOINT(p, KTR_CSW))