summaryrefslogtreecommitdiff
path: root/src/udev/udev-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udev-event.c')
-rw-r--r--src/udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c
index 8eb1e2b7ec..0b3ade082c 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -760,7 +760,7 @@ static int rename_netif(struct udev_event *event)
strscpy(name, IFNAMSIZ, event->name);
- r = sd_rtnl_open(0, &rtnl);
+ r = sd_rtnl_open(&rtnl, 0);
if (r < 0)
return r;