summaryrefslogtreecommitdiff
path: root/udev_node.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-03-17 10:08:25 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-03-17 10:08:25 +0100
commit31de3a2ba18ffa011f5054016ccc4a500cbe0cc3 (patch)
treef945058d7aad9cbe45fba6e496c73d948255e729 /udev_node.c
parentd7fdcd61927e9439ad7079bb0967e0b6edac7646 (diff)
read list of devices from index, make index private to database
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];