summaryrefslogtreecommitdiff
path: root/src/network/networkd-wait-online.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-wait-online.c')
-rw-r--r--src/network/networkd-wait-online.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-wait-online.c b/src/network/networkd-wait-online.c
index c6038c63bf..c4783ca2e9 100644
--- a/src/network/networkd-wait-online.c
+++ b/src/network/networkd-wait-online.c
@@ -252,7 +252,7 @@ int main(int argc, char *argv[]) {
goto out;
}
- r = sd_network_monitor_new(NULL, &m->monitor);
+ r = sd_network_monitor_new(&m->monitor, NULL);
if (r < 0) {
log_error("Could not create monitor: %s", strerror(-r));
goto out;