summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-device.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-06 18:17:27 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-06 18:17:27 +0200
commit31441f6a4b3a776fe56e98ef939ff8825355c285 (patch)
treedfb2b5996beb6a8f0240d45533e84e25c239e676 /udev/lib/libudev-device.c
parent6a328058e099984cdf3f4408d770787083de7c1b (diff)
libudev: fix typo in "multiple entries in symlink" handling
Diffstat (limited to 'udev/lib/libudev-device.c')
-rw-r--r--udev/lib/libudev-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c
index 2113ebd43c..55fcad655e 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);