chiark / gitweb /
build-sys: make test output a bit nicer
[elogind.git] / src / journal / journal-gatewayd.c
index c51afbfeb985fab6fa70704c5036d28b16d202c3..5c35d8e77ec8a332f76acb83e872970c9010bb23 100644 (file)
@@ -131,6 +131,7 @@ static int respond_oom_internal(struct MHD_Connection *connection) {
 
 #define respond_oom(connection) log_oom(), respond_oom_internal(connection)
 
+_printf_(3,4)
 static int respond_error(
                 struct MHD_Connection *connection,
                 unsigned code,
@@ -746,7 +747,7 @@ static int get_virtualization(char **v) {
         char *b;
         int r;
 
-        r = sd_bus_open_system(&bus);
+        r = sd_bus_default_system(&bus);
         if (r < 0)
                 return r;