summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2011-03-02 07:15:45 +0000
committerjasper <jasper@openbsd.org>2011-03-02 07:15:45 +0000
commit175fa15332af3ae4fd442024b0ab72cd7d20856b (patch)
tree3bde54e6f85ee9db57cdf93883604e8dd2a81ab2 /sys/dev
parent- use a common FIELD_ADDR macro, instead of rolling 78 identical copies. (diff)
downloadwireguard-openbsd-175fa15332af3ae4fd442024b0ab72cd7d20856b.tar.xz
wireguard-openbsd-175fa15332af3ae4fd442024b0ab72cd7d20856b.zip
- change recieved -> received in comments, as well as two unused defines
in pxe.h. ok deraadt@ sthen@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/drmP.h2
-rw-r--r--sys/dev/usb/utwitch.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h
index 777cdf56193..1d501136be2 100644
--- a/sys/dev/pci/drm/drmP.h
+++ b/sys/dev/pci/drm/drmP.h
@@ -324,7 +324,7 @@ struct drm_vblank_info {
u_int32_t vb_max; /* counter reg size */
struct drm_vblank {
struct drmevlist vbl_events; /* vblank events */
- u_int32_t vbl_last; /* Last recieved */
+ u_int32_t vbl_last; /* Last received */
u_int32_t vbl_count; /* interrupt no. */
int vbl_refs; /* Number of users */
int vbl_enabled; /* Enabled? */
diff --git a/sys/dev/usb/utwitch.c b/sys/dev/usb/utwitch.c
index 99e4f8fcaeb..fbbc84e60eb 100644
--- a/sys/dev/usb/utwitch.c
+++ b/sys/dev/usb/utwitch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utwitch.c,v 1.3 2011/01/25 20:03:36 jakemsr Exp $ */
+/* $OpenBSD: utwitch.c,v 1.4 2011/03/02 07:15:45 jasper Exp $ */
/*
* Copyright (c) 2010 Yojiro UO <yuo@nui.org>
@@ -245,7 +245,7 @@ utwitch_intr(struct uhidev *addr, void *ibuf, u_int len)
switch (buf[0]) {
case CMD_ACK:
if (buf[1] == sc->issueing_cmd) {
- DPRINTF(("ack recieved for cmd 0x%.2x\n", buf[1]));
+ DPRINTF(("ack received for cmd 0x%.2x\n", buf[1]));
sc->accepted_cmd = buf[1];
} else {
DPRINTF(("cmd-ack mismatch: recved 0x%.2x, expect 0x%.2x\n",