$OpenBSD: patch-drivers_nutdrv_qx_c,v 1.1 2014/01/07 21:55:54 sthen Exp $ --- drivers/nutdrv_qx.c.orig Fri Nov 22 09:45:50 2013 +++ drivers/nutdrv_qx.c Fri Nov 22 09:46:00 2013 @@ -1759,7 +1759,9 @@ static int qx_command(const char *cmd, char *buf, size case -ETIMEDOUT: /* Connection timed out */ case -EOVERFLOW: /* Value too large for defined data type */ +#ifdef EPROTO case -EPROTO: /* Protocol error */ +#endif default: break; }