diff options
author | 2008-05-26 11:20:39 +0000 | |
---|---|---|
committer | 2008-05-26 11:20:39 +0000 | |
commit | a58f1d8bb2a9856e2e4d760cb035d1c645769684 (patch) | |
tree | 6d444ecb778325e80b1de6ad4bca5f02d295d00a | |
parent | "usage:" is lowercase; synchronize synopsis and usage. (diff) | |
download | wireguard-openbsd-a58f1d8bb2a9856e2e4d760cb035d1c645769684.tar.xz wireguard-openbsd-a58f1d8bb2a9856e2e4d760cb035d1c645769684.zip |
Properly handle usbd_get_interface_descriptor() returning NULL.
From Jacek Masiulaniec <jacekm@dobremiasto.net>
-rw-r--r-- | sys/dev/usb/umsm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c index 16724f50dad..98486b99d2c 100644 --- a/sys/dev/usb/umsm.c +++ b/sys/dev/usb/umsm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umsm.c,v 1.25 2008/05/12 12:24:43 jsg Exp $ */ +/* $OpenBSD: umsm.c,v 1.26 2008/05/26 11:20:39 jsg Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -193,8 +193,8 @@ umsm_attach(struct device *parent, struct device *self, void *aux) */ printf("%s: umass only mode. need to reattach\n", sc->sc_dev.dv_xname); - return; } + return; } uca.bulkin = uca.bulkout = -1; |