chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: add infrastructure to keep track of machines, and move to slices
[elogind.git]
/
src
/
login
/
sd-login.c
diff --git
a/src/login/sd-login.c
b/src/login/sd-login.c
index d0dc42f685977fde230f1d951e7409d79c56f2f6..d2e95034e1388987637ac66ee8f153ae7b2d833a 100644
(file)
--- a/
src/login/sd-login.c
+++ b/
src/login/sd-login.c
@@
-598,7
+598,7
@@
_public_ int sd_get_machine_names(char ***machines) {
char *n;
int c = 0, r;
- r = cg_get_
machine_path(NULL,
&md);
+ r = cg_get_
root_path(
&md);
if (r < 0)
return r;
@@
-681,7
+681,7
@@
_public_ int sd_login_monitor_new(const char *category, sd_login_monitor **m) {
_cleanup_free_ char *md = NULL, *p = NULL;
int r;
- r = cg_get_
machine_path(NULL,
&md);
+ r = cg_get_
root_path(
&md);
if (r < 0)
return r;