]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/hostname/hostnamectl.c
sd-bus: introduce new sd_bus_flush_close_unref() call
[thirdparty/systemd.git] / src / hostname / hostnamectl.c
index 69ecd61f6068f00f78bd2bfe1cca9bd10aba116e..c996fc04a08aefcba6a61c7697f7df33e99cb080 100644 (file)
@@ -509,7 +509,7 @@ static int hostnamectl_main(sd_bus *bus, int argc, char *argv[]) {
 }
 
 int main(int argc, char *argv[]) {
-        _cleanup_bus_close_unref_ sd_bus *bus = NULL;
+        _cleanup_bus_flush_close_unref_ sd_bus *bus = NULL;
         int r;
 
         setlocale(LC_ALL, "");