]> err.no Git - systemd/commitdiff
libudev: fix typo in "multiple entries in symlink" handling
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 6 Oct 2008 16:17:27 +0000 (18:17 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 6 Oct 2008 16:17:27 +0000 (18:17 +0200)
udev/lib/libudev-device.c

index 2113ebd43c431bbf9fe60cd4a8345492143aa9c8..55fcad655e2ba092d53d0e1a6288d13ff2de65da 100644 (file)
@@ -112,7 +112,7 @@ static int device_read_db(struct udev_device *udev_device)
                        }
                        util_strlcpy(linkname, udev_get_dev_path(udev_device->udev), sizeof(linkname));
                        util_strlcat(linkname, "/", sizeof(linkname));
-                       util_strlcat(linkname, next, sizeof(linkname));
+                       util_strlcat(linkname, lnk, sizeof(linkname));
                        device_add_devlink(udev_device, linkname);
                }
                info(udev_device->udev, "device %p filled with db symlink data '%s'\n", udev_device, udev_device->devnode);