summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev')
-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 228232bf79..c8e216c341 100644
--- a/src/udev/udev-event.c
+++ b/src/udev/udev-event.c
@@ -748,7 +748,7 @@ out:
static int rename_netif(struct udev_event *event)
{
struct udev_device *dev = event->dev;
- _cleanup_sd_rtnl_unref_ sd_rtnl *rtnl = NULL;
+ _cleanup_rtnl_unref_ sd_rtnl *rtnl = NULL;
char name[IFNAMSIZ];
const char *oldname;
int r;