summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2016-09-19 23:37:10 +0000
committerjdolecek <jdolecek@NetBSD.org>2016-09-19 23:37:10 +0000
commit26f48897a0911fb6b228fd7b813d63c5f3fd6632 (patch)
treeac5c8ee76e2e1f9b8c1ceacb36251a867cfab950 /sys/dev/raidframe
parent4e341fdf72641d06b1199f89da9a098ad22c759a (diff)
fix mistake fallthrough in the ioctl switch introduced in previous commit
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index 75dd937c1a7..b6651b7df7c 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.346 2016/09/19 23:32:30 jdolecek Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.347 2016/09/19 23:37:10 jdolecek Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
***********************************************************/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.346 2016/09/19 23:32:30 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.347 2016/09/19 23:37:10 jdolecek Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -1789,9 +1789,11 @@ raidioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l)
switch (cmd) {
case DIOCCACHESYNC:
retcode = rf_sync_component_caches(raidPtr);
+ break;
default:
retcode = dk_ioctl(dksc, dev, cmd, data, flag, l);
+ break;
}
return (retcode);