From 3220827c57d6c3970b925303000dca095d6cf900 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 11 Nov 2013 07:53:52 +0100 Subject: [PATCH] error.c: Add SR_ERR_PROBE_GROUP handling. --- error.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/error.c b/error.c index 7d991fdb..a04a983f 100644 --- a/error.c +++ b/error.c @@ -76,6 +76,8 @@ SR_API const char *sr_strerror(int error_code) return "device closed but should be open"; case SR_ERR_TIMEOUT: return "timeout occurred"; + case SR_ERR_PROBE_GROUP: + return "no probe group specified"; default: return "unknown error"; } @@ -125,6 +127,8 @@ SR_API const char *sr_strerror_name(int error_code) return "SR_ERR_DEV_CLOSED"; case SR_ERR_TIMEOUT: return "SR_ERR_TIMEOUT"; + case SR_ERR_PROBE_GROUP: + return "SR_PROBE_GROUP"; default: return "unknown error code"; }