summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libelogind/sd-bus/sd-bus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libelogind/sd-bus/sd-bus.c b/src/libelogind/sd-bus/sd-bus.c
index 84f62a29d..2a490405e 100644
--- a/src/libelogind/sd-bus/sd-bus.c
+++ b/src/libelogind/sd-bus/sd-bus.c
@@ -1362,13 +1362,13 @@ _public_ int sd_bus_open_user_with_description(sd_bus **ret, const char *descrip
*ret = TAKE_PTR(b);
return 0;
+#else
+ return sd_bus_open_system_with_description(ret, description);
+#endif // 0
}
_public_ int sd_bus_open_user(sd_bus **ret) {
return sd_bus_open_user_with_description(ret, NULL);
-#else
- return sd_bus_open_system(ret);
-#endif // 0
}
int bus_set_address_system_remote(sd_bus *b, const char *host) {