summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2010-08-18 22:54:58 +0000
committerjakemsr <jakemsr@openbsd.org>2010-08-18 22:54:58 +0000
commit710fab5bfd3a835b01d9bcc88bc564308a25f28a (patch)
tree0f6e1817a49f1ebbb20abe794fb88308f78a1c8c /sys/dev
parent* the detach and drain functions do the same waiting for channels to (diff)
downloadwireguard-openbsd-710fab5bfd3a835b01d9bcc88bc564308a25f28a.tar.xz
wireguard-openbsd-710fab5bfd3a835b01d9bcc88bc564308a25f28a.zip
* indentation fix
* use the correct variable in a DPRINTF
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/uaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c
index 5753b33c408..f91aaa1d57a 100644
--- a/sys/dev/usb/uaudio.c
+++ b/sys/dev/usb/uaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uaudio.c,v 1.88 2010/08/18 22:53:10 jakemsr Exp $ */
+/* $OpenBSD: uaudio.c,v 1.89 2010/08/18 22:54:58 jakemsr Exp $ */
/* $NetBSD: uaudio.c,v 1.90 2004/10/29 17:12:53 kent Exp $ */
/*
@@ -608,7 +608,7 @@ uaudio_detach(struct device *self, int flags)
rv = config_detach(sc->sc_audiodev, flags);
usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev,
- &sc->sc_dev);
+ &sc->sc_dev);
return (rv);
}
@@ -3272,7 +3272,7 @@ uaudio_chan_init(struct chan *ch, int mode, int altidx,
ch->nsync_frames = UAUDIO_MAX_FRAMES;
}
DPRINTF(("%s: residual sample fraction: %d/%d\n", __func__,
- ch->fraction, ch->usb_fps));
+ ch->fraction, ch->frac_denom));
}
void