Add a missing break that should have been included in revision 1.163.

Spotted by "sc dying" and reported on current-users
This commit is contained in:
skrll 2017-09-01 15:19:59 +00:00
parent f2df1a6a72
commit 2ca785ae43
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: usb.c,v 1.165 2017/01/19 16:05:00 skrll Exp $ */
/* $NetBSD: usb.c,v 1.166 2017/09/01 15:19:59 skrll Exp $ */
/*
* Copyright (c) 1998, 2002, 2008, 2012 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.165 2017/01/19 16:05:00 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: usb.c,v 1.166 2017/09/01 15:19:59 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@ -775,6 +775,7 @@ usbioctl(dev_t devt, u_long cmd, void *data, int flag, struct lwp *l)
len = UGETW(ur->ucr_request.wLength);
kmem_free(ptr, len);
}
break;
}
case USB_DEVICEINFO: