From 7c4573e46d703ff65bcaeff8ad91250667f82fe2 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 5 Nov 2008 04:08:44 +0100 Subject: [PATCH] fix $links substitution --- udev/udev-event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/udev/udev-event.c b/udev/udev-event.c index a6459eb8..db61d589 100644 --- a/udev/udev-event.c +++ b/udev/udev-event.c @@ -396,8 +396,8 @@ found: { struct udev_list_entry *list_entry; - list_entry = udev_device_get_properties_list_entry(dev); - util_strlcpy(string, udev_list_entry_get_name(list_entry), maxsize); + list_entry = udev_device_get_devlinks_list_entry(dev); + util_strlcat(string, udev_list_entry_get_name(list_entry), maxsize); udev_list_entry_foreach(list_entry, udev_list_entry_get_next(list_entry)) { util_strlcat(string, " ", maxsize); util_strlcat(string, udev_list_entry_get_name(list_entry), maxsize); -- 2.39.5