From 856d0296cc12dfd8cfbcaa00bf212424ac4a9152 Mon Sep 17 00:00:00 2001 From: brad Date: Mon, 29 Dec 2014 02:39:33 +0000 Subject: [PATCH] Some missing break's. --- sys/dev/usb/if_upl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c index d77efa3f60c..3386277aafc 100644 --- a/sys/dev/usb/if_upl.c +++ b/sys/dev/usb/if_upl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_upl.c,v 1.60 2014/12/29 00:46:01 brad Exp $ */ +/* $OpenBSD: if_upl.c,v 1.61 2014/12/29 02:39:33 brad Exp $ */ /* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -780,6 +780,7 @@ upl_ioctl(struct ifnet *ifp, u_long command, caddr_t data) ifp->if_flags |= IFF_UP; if (!(ifp->if_flags & IFF_RUNNING)) upl_init(sc); + break; case SIOCSIFFLAGS: if (ifp->if_flags & IFF_UP) { @@ -798,10 +799,10 @@ upl_ioctl(struct ifnet *ifp, u_long command, caddr_t data) error = EINVAL; else ifp->if_mtu = ifr->ifr_mtu; + break; default: error = ENOTTY; - break; } if (error == ENETRESET) -- 2.20.1