diff options
author | Daniel Mack <zonque@gmail.com> | 2014-08-18 22:07:47 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-09-08 11:06:45 +0200 |
commit | 5369c77d2ee864ac0464d4adc0774ee70ba9c4bc (patch) | |
tree | 0206b657a3fbf3db03e3750155d4a120f31c68c7 /src/core/load-fragment.c | |
parent | de68938a2cb3ab535ebd9198723a651753c1a1df (diff) |
bus: factor out bus policy items
In order to re-use the policy definitions, factor them out into their own
files.
Diffstat (limited to 'src/core/load-fragment.c')
-rw-r--r-- | src/core/load-fragment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index fda27becb5..b4da6a550e 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -1686,7 +1686,7 @@ int config_parse_busname_service( return 0; } -DEFINE_CONFIG_PARSE_ENUM(config_parse_bus_policy_world, busname_policy_access, BusNamePolicyAccess, "Failed to parse bus name policy access"); +DEFINE_CONFIG_PARSE_ENUM(config_parse_bus_policy_world, bus_policy_access, BusPolicyAccess, "Failed to parse bus name policy access"); int config_parse_bus_policy( const char *unit, @@ -1736,7 +1736,7 @@ int config_parse_bus_policy( access_str++; access_str += strspn(access_str, WHITESPACE); - p->access = busname_policy_access_from_string(access_str); + p->access = bus_policy_access_from_string(access_str); if (p->access < 0) { log_syntax(unit, LOG_ERR, filename, line, EINVAL, "Invalid busname policy access type '%s'", access_str); |