From 31441f6a4b3a776fe56e98ef939ff8825355c285 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 6 Oct 2008 18:17:27 +0200 Subject: [PATCH] libudev: fix typo in "multiple entries in symlink" handling --- udev/lib/libudev-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index 2113ebd4..55fcad65 100644 --- a/udev/lib/libudev-device.c +++ b/udev/lib/libudev-device.c @@ -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); -- 2.39.5