From: Kay Sievers Date: Mon, 6 Oct 2008 16:17:27 +0000 (+0200) Subject: libudev: fix typo in "multiple entries in symlink" handling X-Git-Tag: 174~1473 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31441f6a4b3a776fe56e98ef939ff8825355c285;p=systemd libudev: fix typo in "multiple entries in symlink" handling --- 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);