diff options
| author | 2007-06-10 14:49:00 +0000 | |
|---|---|---|
| committer | 2007-06-10 14:49:00 +0000 | |
| commit | 4ab2b9fe17d15fc7440b52cb1fd3d63a58560829 (patch) | |
| tree | d200ff63c3118d93390caa0680e934056f66554f /sys/dev/usb/usbf_subr.c | |
| parent | refactor the code a bit, so that lists through ftp and htpp share more (diff) | |
| download | wireguard-openbsd-4ab2b9fe17d15fc7440b52cb1fd3d63a58560829.tar.xz wireguard-openbsd-4ab2b9fe17d15fc7440b52cb1fd3d63a58560829.zip | |
Remove the definition and use of the USBDEVNAME macro.
(This might look easy, but it was a big diff. Thanks to dlg and especially jsg
for looking over it; we found at least four mistakes in the initial diff.)
ok jsg.
Diffstat (limited to 'sys/dev/usb/usbf_subr.c')
| -rw-r--r-- | sys/dev/usb/usbf_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbf_subr.c b/sys/dev/usb/usbf_subr.c index dc87c1c6089..68c42ce1845 100644 --- a/sys/dev/usb/usbf_subr.c +++ b/sys/dev/usb/usbf_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usbf_subr.c,v 1.4 2007/06/10 10:15:35 mbalmer Exp $ */ +/* $OpenBSD: usbf_subr.c,v 1.5 2007/06/10 14:49:01 mbalmer Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -889,7 +889,7 @@ usbf_dump_buffer(usbf_xfer_handle xfer) u_char *p = xfer->buffer; u_int i; - printf("%s: ep%d-%s, length=%u, %s", USBDEVNAME(*dev), index, + printf("%s: ep%d-%s, length=%u, %s", dev->dv_xname, index, (xfer->rqflags & URQ_REQUEST) ? "setup" : (index == 0 ? "in" : (dir == UE_DIR_IN ? "in" : "out")), xfer->length, usbf_errstr(xfer->status)); |
