summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2018-08-23 08:45:37 +0200
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commited634df06b99d6f1eee06ba2a241f719393c0082 (patch)
tree8e7a7f53d83cdb67741cdece3609055ad8b7fa49 /src
parent738fe14bffc934e4d7642cf6195c750662153090 (diff)
Prep v239: Fix new sd_bus_open_user_with_description()
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) {