]> sigrok.org Git - libsigrok.git/commitdiff
sr_strerror_name(): Add missing SR_ERR_IO entry.
authorUwe Hermann <redacted>
Wed, 11 Feb 2015 15:26:12 +0000 (16:26 +0100)
committerUwe Hermann <redacted>
Wed, 11 Feb 2015 15:26:12 +0000 (16:26 +0100)
src/error.c

index af920156bd2bffafdcfa6d58b012a5b953cf3d64..0d43abf16b544780c40105f62e5d6b8e391a3aab 100644 (file)
@@ -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";
        }