openbsd-ports/sysutils/nut/patches/patch-drivers_blazer_usb_c
sthen 5c5a608f6c update to 2.4.3, tested by Denny White and Aaron Stellman
note that with USB UPS, you may have to allow permissions on
further ugen subdevices (e.g. ugen0.01 as well as ugen0.00).
2010-03-31 22:11:11 +00:00

14 lines
452 B
Plaintext

$OpenBSD: patch-drivers_blazer_usb_c,v 1.1 2010/03/31 22:11:11 sthen Exp $
--- drivers/blazer_usb.c.orig Sat Mar 20 23:31:35 2010
+++ drivers/blazer_usb.c Sat Mar 20 23:31:48 2010
@@ -387,7 +387,9 @@ int blazer_command(const char *cmd, char *buf, size_t
case -ETIMEDOUT: /* Connection timed out */
case -EOVERFLOW: /* Value too large for defined data type */
+#ifdef EPROTO
case -EPROTO: /* Protocol error */
+#endif
default:
break;
}