1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 18:27:04 +03:00

busname: don't drop 'service' from the result string

This commit is contained in:
Lennart Poettering 2014-03-07 17:29:16 +01:00
parent 9842de0d93
commit 700ff4d973
Notes: Lennart Poettering 2014-03-10 21:11:36 +01:00
Backport: bugfix

View File

@ -548,7 +548,7 @@ DEFINE_STRING_TABLE_LOOKUP(busname_state, BusNameState);
static const char* const busname_result_table[_BUSNAME_RESULT_MAX] = { static const char* const busname_result_table[_BUSNAME_RESULT_MAX] = {
[BUSNAME_SUCCESS] = "success", [BUSNAME_SUCCESS] = "success",
[BUSNAME_FAILURE_RESOURCES] = "resources", [BUSNAME_FAILURE_RESOURCES] = "resources",
[BUSNAME_FAILURE_SERVICE_FAILED_PERMANENT] = "failed-permanent", [BUSNAME_FAILURE_SERVICE_FAILED_PERMANENT] = "service-failed-permanent",
}; };
DEFINE_STRING_TABLE_LOOKUP(busname_result, BusNameResult); DEFINE_STRING_TABLE_LOOKUP(busname_result, BusNameResult);