fix mistake fallthrough in the ioctl switch introduced in previous commit

This commit is contained in:
jdolecek 2016-09-19 23:37:10 +00:00
parent 62548607cc
commit d0c39b253f

View File

@ -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);