summaryrefslogtreecommitdiff
path: root/udev_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_node.c')
-rw-r--r--udev_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_node.c b/udev_node.c
index ed323e9449..1558df849c 100644
--- a/udev_node.c
+++ b/udev_node.c
@@ -275,7 +275,7 @@ void udev_node_remove_symlinks(struct udevice *udev)
struct udevice *old;
info("found overwritten symlink '%s' of '%s'", name_loop->name, devpath);
- old = udev_device_init();
+ old = udev_device_init(NULL);
if (old != NULL) {
if (udev_db_get_device(old, devpath) == 0) {
char slink[PATH_SIZE];