openbsd-ports/sysutils/nut/patches/patch-drivers_blazer_usb_c
sthen 2e38342377 update to NUT 2.6.4 rolling in the patch for CVE 2012-2944 which we had locally,
adding new device support, better snmp support for various devices, and many
other fixes and improvements.
2012-06-08 21:07:02 +00:00

14 lines
452 B
Plaintext

$OpenBSD: patch-drivers_blazer_usb_c,v 1.4 2012/06/08 21:07:02 sthen Exp $
--- drivers/blazer_usb.c.orig Mon May 21 08:44:58 2012
+++ drivers/blazer_usb.c Fri Jun 8 01:38:28 2012
@@ -438,7 +438,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;
}