From: Uwe Hermann Date: Wed, 11 Feb 2015 15:26:12 +0000 (+0100) Subject: sr_strerror_name(): Add missing SR_ERR_IO entry. X-Git-Tag: libsigrok-0.4.0~648 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c4f9582714563b1929670061e6d2f87d8a64d152;p=libsigrok.git sr_strerror_name(): Add missing SR_ERR_IO entry. --- diff --git a/src/error.c b/src/error.c index af920156..0d43abf1 100644 --- a/src/error.c +++ b/src/error.c @@ -139,6 +139,8 @@ SR_API const char *sr_strerror_name(int error_code) return "SR_ERR_CHANNEL_GROUP"; case SR_ERR_DATA: return "SR_ERR_DATA"; + case SR_ERR_IO: + return "SR_ERR_IO"; default: return "unknown error code"; }