summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2002-10-12 01:09:43 +0000
committerkrw <krw@openbsd.org>2002-10-12 01:09:43 +0000
commitbc84bce2cf8db44d7e63fafe55206f5102427a45 (patch)
tree7bca4f728671423caa88412df14b6a41521a3c68 /sys/dev/usb/usbdi.c
parentAdd a bit on volatile vs volatile pointers. OK jason@ millert@ (diff)
downloadwireguard-openbsd-bc84bce2cf8db44d7e63fafe55206f5102427a45.tar.xz
wireguard-openbsd-bc84bce2cf8db44d7e63fafe55206f5102427a45.zip
Remove more '\n's from panic() statements. Both trailing and leading.
Diff generated by Chris Kuethe.
Diffstat (limited to 'sys/dev/usb/usbdi.c')
-rw-r--r--sys/dev/usb/usbdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index 9e2570cf152..bdeb3e2ba0e 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi.c,v 1.20 2002/07/25 02:18:11 nate Exp $ */
+/* $OpenBSD: usbdi.c,v 1.21 2002/10/12 01:09:44 krw Exp $ */
/* $NetBSD: usbdi.c,v 1.81 2001/04/17 00:05:33 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $ */
@@ -294,7 +294,7 @@ usbd_transfer(usbd_xfer_handle xfer)
s = splusb();
if (!xfer->done) {
if (pipe->device->bus->use_polling)
- panic("usbd_transfer: not done\n");
+ panic("usbd_transfer: not done");
tsleep(xfer, PRIBIO, "usbsyn", 0);
}
splx(s);