summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-enumerate.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-13 21:09:28 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-13 21:09:28 +0200
commit93b0f384589fce818edb9678571a30e71930d14c (patch)
tree0a66d2d7749b97e8d5919fdf2971db43a52240c2 /udev/lib/libudev-enumerate.c
parentb2d9e4f20075d355cd4fe091929bc336642aa50d (diff)
libudev: udev_device - add attribute cache
Diffstat (limited to 'udev/lib/libudev-enumerate.c')
-rw-r--r--udev/lib/libudev-enumerate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev-enumerate.c b/udev/lib/libudev-enumerate.c
index 9bd9101052..95a407652a 100644
--- a/udev/lib/libudev-enumerate.c
+++ b/udev/lib/libudev-enumerate.c
@@ -58,7 +58,7 @@ static int devices_scan_subsystem(struct udev *udev,
util_strlcat(devpath, "/", sizeof(devpath));
util_strlcat(devpath, dent->d_name, sizeof(devpath));
util_resolve_sys_link(udev, devpath, sizeof(devpath));
- util_name_list_add(udev, device_list, devpath, 1);
+ util_name_list_add(udev, device_list, devpath, NULL, 1);
}
closedir(dir);
return 0;