From 7650ded4ffa87fcf7ce5adf00920fecf89cffcf5 Mon Sep 17 00:00:00 2001 From: Michal Zidek Date: Tue, 10 Mar 2015 18:38:10 +0100 Subject: test: Check ERR_LAST MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Check if number of error codes and messages is the same. Reviewed-by: Lukáš Slebodník --- src/util/util_errors.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util/util_errors.c') diff --git a/src/util/util_errors.c b/src/util/util_errors.c index 5ce64a16..923f0a86 100644 --- a/src/util/util_errors.c +++ b/src/util/util_errors.c @@ -70,6 +70,7 @@ struct err_string error_to_str[] = { { "Username format not allowed by re_expression" }, /* ERR_REGEX_NOMATCH */ { "Time specification not supported" }, /* ERR_TIMESPEC_NOT_SUPPORTED */ { "Invalid SSSD configuration detected." }, /* ERR_INVALID_CONFIG */ + { "ERR_LAST" } /* ERR_LAST */ }; -- cgit