From 10a28f461c25d788ff4dcffefa881e7aa724a25d Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Thu, 29 Jan 2015 15:29:26 +0100 Subject: sbus: add sbus_opath_decompose[_exact] This function decomposes object path into array of strings. The "_exact" version expects a certain number of parts otherwise an error is thrown. Reviewed-by: Jakub Hrozek --- 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 62d580fe..64c52b57 100644 --- a/src/util/util_errors.c +++ b/src/util/util_errors.c @@ -62,6 +62,7 @@ struct err_string error_to_str[] = { { "Malformed extra attribute" }, /* ERR_INVALID_EXTRA_ATTR */ { "Cannot get bus message sender" }, /* ERR_SBUS_GET_SENDER_ERROR */ { "Bus message has no sender" }, /* ERR_SBUS_NO_SENDER */ + { "Invalid SBUS path provided." }, /* ERR_SBUS_INVALID_PATH */ { "User/Group SIDs not found" }, /* ERR_NO_SIDS */ { "Bus method not supported" }, /* ERR_SBUS_NOSUP */ { "Cannot connect to system bus" }, /* ERR_NO_SYSBUS */ -- cgit