summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-03-29 14:32:58 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-03-29 14:32:58 +0000
commita719475c00d88b0ef122e003161c5a3b2f14a830 (patch)
tree35bf33e3aeceb51554ff59734920f5e56b48be2e /sys
parente2bf008feddb6ffd09f495c88b9ebc10111ce64f (diff)
Missing break;
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/dev/apm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/apm.c b/sys/arch/macppc/dev/apm.c
index 694d306e45f..3b563fd0987 100644
--- a/sys/arch/macppc/dev/apm.c
+++ b/sys/arch/macppc/dev/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.9 2003/10/16 03:54:48 deraadt Exp $ */
+/* $OpenBSD: apm.c,v 1.10 2005/03/29 14:32:57 miod Exp $ */
/*-
* Copyright (c) 2001 Alexander Guy. All rights reserved.
@@ -219,6 +219,7 @@ apmioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
case APM_IOC_STANDBY:
if ((flag & FWRITE) == 0)
error = EBADF;
+ break;
case APM_IOC_SUSPEND:
if ((flag & FWRITE) == 0)
error = EBADF;