]> err.no Git - systemd/commitdiff
fix $links substitution
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 5 Nov 2008 03:08:44 +0000 (04:08 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 5 Nov 2008 03:08:44 +0000 (04:08 +0100)
udev/udev-event.c

index a6459eb8d931e4f071b70c96342963f3f28c07f4..db61d589250b8f056283e77333ed3b699486a968 100644 (file)
@@ -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);