summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbf_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usbf_subr.c')
-rw-r--r--sys/dev/usb/usbf_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbf_subr.c b/sys/dev/usb/usbf_subr.c
index ffedaf5ed29..80e304fcb39 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.2 2007/02/07 16:26:49 drahn Exp $ */
+/* $OpenBSD: usbf_subr.c,v 1.3 2007/02/13 18:32:57 drahn Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -58,7 +58,7 @@ usbf_errstr(usbf_status err)
{
static char buffer[5];
- if (err < USBD_ERROR_MAX)
+ if (err < USBF_ERROR_MAX)
return usbf_error_strs[err];
snprintf(buffer, sizeof buffer, "%d", err);