2012-01-11 11:01:33 -05:00
|
|
|
$OpenBSD: patch-drivers_blazer_usb_c,v 1.3 2012/01/11 16:01:33 sthen Exp $
|
|
|
|
--- drivers/blazer_usb.c.orig Wed Jan 11 09:35:10 2012
|
|
|
|
+++ drivers/blazer_usb.c Wed Jan 11 13:21:37 2012
|
|
|
|
@@ -434,7 +434,9 @@ int blazer_command(const char *cmd, char *buf, size_t
|
2010-03-31 18:11:11 -04:00
|
|
|
|
|
|
|
case -ETIMEDOUT: /* Connection timed out */
|
|
|
|
case -EOVERFLOW: /* Value too large for defined data type */
|
|
|
|
+#ifdef EPROTO
|
|
|
|
case -EPROTO: /* Protocol error */
|
|
|
|
+#endif
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|