diff options
Diffstat (limited to 'src/path')
-rw-r--r-- | src/path/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path/path.c b/src/path/path.c index fa81632bb2..26252948c5 100644 --- a/src/path/path.c +++ b/src/path/path.c @@ -68,7 +68,7 @@ static int list_homes(void) { _cleanup_free_ char *p = NULL; int q; - q = sd_path_home(i, arg_suffix, &p); + q = sd_path_lookup(i, arg_suffix, &p); if (q == -ENXIO) continue; if (q < 0) { @@ -91,7 +91,7 @@ static int print_home(const char *n) { if (streq(path_table[i], n)) { _cleanup_free_ char *p = NULL; - r = sd_path_home(i, arg_suffix, &p); + r = sd_path_lookup(i, arg_suffix, &p); if (r < 0) return log_error_errno(r, "Failed to query %s: %m", n); |