summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_umb.c
diff options
context:
space:
mode:
authorfeinerer <feinerer@openbsd.org>2019-01-14 13:35:41 +0000
committerfeinerer <feinerer@openbsd.org>2019-01-14 13:35:41 +0000
commite1355ac5181049b1184c89b9876c4df77158427e (patch)
tree59821564dc17d551b28849174e7d13b745a3420b /sys/dev/usb/if_umb.c
parentVarious tweaks: (diff)
downloadwireguard-openbsd-e1355ac5181049b1184c89b9876c4df77158427e.tar.xz
wireguard-openbsd-e1355ac5181049b1184c89b9876c4df77158427e.zip
Fix typos
ok sthen@
Diffstat (limited to 'sys/dev/usb/if_umb.c')
-rw-r--r--sys/dev/usb/if_umb.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/usb/if_umb.c b/sys/dev/usb/if_umb.c
index 567bba697af..3faedd2244a 100644
--- a/sys/dev/usb/if_umb.c
+++ b/sys/dev/usb/if_umb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_umb.c,v 1.21 2018/10/02 19:49:10 stsp Exp $ */
+/* $OpenBSD: if_umb.c,v 1.22 2019/01/14 13:35:41 feinerer Exp $ */
/*
* Copyright (c) 2016 genua mbH
@@ -1197,7 +1197,7 @@ umb_decode_response(struct umb_softc *sc, void *response, int len)
umb_command_done(sc, response, len);
break;
default:
- DPRINTF("%s: discard messsage %s\n", DEVNAM(sc),
+ DPRINTF("%s: discard message %s\n", DEVNAM(sc),
umb_request2str(type));
break;
}
@@ -1211,19 +1211,19 @@ umb_handle_indicate_status_msg(struct umb_softc *sc, void *data, int len)
uint32_t cid;
if (len < sizeof (*m)) {
- DPRINTF("%s: discard short %s messsage\n", DEVNAM(sc),
+ DPRINTF("%s: discard short %s message\n", DEVNAM(sc),
umb_request2str(letoh32(m->hdr.type)));
return;
}
if (memcmp(m->devid, umb_uuid_basic_connect, sizeof (m->devid))) {
- DPRINTF("%s: discard %s messsage for other UUID '%s'\n",
+ DPRINTF("%s: discard %s message for other UUID '%s'\n",
DEVNAM(sc), umb_request2str(letoh32(m->hdr.type)),
umb_uuid2str(m->devid));
return;
}
infolen = letoh32(m->infolen);
if (len < sizeof (*m) + infolen) {
- DPRINTF("%s: discard truncated %s messsage (want %d, got %d)\n",
+ DPRINTF("%s: discard truncated %s message (want %d, got %d)\n",
DEVNAM(sc), umb_request2str(letoh32(m->hdr.type)),
(int)sizeof (*m) + infolen, len);
return;
@@ -2333,7 +2333,7 @@ umb_command_done(struct umb_softc *sc, void *data, int len)
int qmimsg = 0;
if (len < sizeof (*cmd)) {
- DPRINTF("%s: discard short %s messsage\n", DEVNAM(sc),
+ DPRINTF("%s: discard short %s message\n", DEVNAM(sc),
umb_request2str(letoh32(cmd->hdr.type)));
return;
}
@@ -2341,7 +2341,7 @@ umb_command_done(struct umb_softc *sc, void *data, int len)
if (memcmp(cmd->devid, umb_uuid_basic_connect, sizeof (cmd->devid))) {
if (memcmp(cmd->devid, umb_uuid_qmi_mbim,
sizeof (cmd->devid))) {
- DPRINTF("%s: discard %s messsage for other UUID '%s'\n",
+ DPRINTF("%s: discard %s message for other UUID '%s'\n",
DEVNAM(sc), umb_request2str(letoh32(cmd->hdr.type)),
umb_uuid2str(cmd->devid));
return;
@@ -2370,7 +2370,7 @@ umb_command_done(struct umb_softc *sc, void *data, int len)
infolen = letoh32(cmd->infolen);
if (len < sizeof (*cmd) + infolen) {
- DPRINTF("%s: discard truncated %s messsage (want %d, got %d)\n",
+ DPRINTF("%s: discard truncated %s message (want %d, got %d)\n",
DEVNAM(sc), umb_cid2str(cid),
(int)sizeof (*cmd) + infolen, len);
return;