From 4d5dec2389d8e6ce78b45d3058220888f4a93db7 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 2 Oct 2014 08:01:00 -0400 Subject: Rename user_runtime to user_runtime_dir This makes this function name similar to user_config_home() and makes it match the name of the environment variable. --- src/core/unit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/unit.c') diff --git a/src/core/unit.c b/src/core/unit.c index 8a7df01284..399d202738 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -3083,7 +3083,7 @@ static int unit_drop_in_dir(Unit *u, UnitSetPropertiesMode mode, bool transient, if (mode == UNIT_PERSISTENT && !transient) r = user_config_home(dir); else - r = user_runtime(dir); + r = user_runtime_dir(dir); if (r == 0) return -ENOENT; @@ -3232,7 +3232,7 @@ int unit_make_transient(Unit *u) { if (u->manager->running_as == SYSTEMD_USER) { _cleanup_free_ char *c = NULL; - r = user_runtime(&c); + r = user_runtime_dir(&c); if (r < 0) return r; if (r == 0) -- cgit v1.2.3-54-g00ecf