summaryrefslogtreecommitdiffstats
path: root/src/core/path.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-02 16:59:23 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-19 11:33:52 +0200
commit48d83e33682654fd01ffc43e5c6ae999e53c8e79 (patch)
tree8de726a45c03cad98ed3bd0af62ee21351c412b6 /src/core/path.c
parentcore: modernize asprintf error handling (diff)
downloadsystemd-48d83e33682654fd01ffc43e5c6ae999e53c8e79.tar.xz
systemd-48d83e33682654fd01ffc43e5c6ae999e53c8e79.zip
core: align string tables
Diffstat (limited to 'src/core/path.c')
-rw-r--r--src/core/path.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/path.c b/src/core/path.c
index 87930f637f..800524a308 100644
--- a/src/core/path.c
+++ b/src/core/path.c
@@ -813,19 +813,19 @@ static void path_reset_failed(Unit *u) {
}
static const char* const path_type_table[_PATH_TYPE_MAX] = {
- [PATH_EXISTS] = "PathExists",
- [PATH_EXISTS_GLOB] = "PathExistsGlob",
+ [PATH_EXISTS] = "PathExists",
+ [PATH_EXISTS_GLOB] = "PathExistsGlob",
[PATH_DIRECTORY_NOT_EMPTY] = "DirectoryNotEmpty",
- [PATH_CHANGED] = "PathChanged",
- [PATH_MODIFIED] = "PathModified",
+ [PATH_CHANGED] = "PathChanged",
+ [PATH_MODIFIED] = "PathModified",
};
DEFINE_STRING_TABLE_LOOKUP(path_type, PathType);
static const char* const path_result_table[_PATH_RESULT_MAX] = {
- [PATH_SUCCESS] = "success",
- [PATH_FAILURE_RESOURCES] = "resources",
- [PATH_FAILURE_START_LIMIT_HIT] = "start-limit-hit",
+ [PATH_SUCCESS] = "success",
+ [PATH_FAILURE_RESOURCES] = "resources",
+ [PATH_FAILURE_START_LIMIT_HIT] = "start-limit-hit",
[PATH_FAILURE_UNIT_START_LIMIT_HIT] = "unit-start-limit-hit",
};