summaryrefslogtreecommitdiff
path: root/src/libudev/libudev-enumerate.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-08-10 19:56:57 +0200
committerKay Sievers <kay@vrfy.org>2012-08-10 19:56:57 +0200
commitdbf61afb29e016fe1b4ac48312a782df1d60a3e6 (patch)
tree82e12903de297fb388c1e85b27fca627943a2f1b /src/libudev/libudev-enumerate.c
parentc516c8d17f77a1c761447f4c40c8dfffeda2e06d (diff)
udev: export udev_device_new_from_device_id()
Diffstat (limited to 'src/libudev/libudev-enumerate.c')
-rw-r--r--src/libudev/libudev-enumerate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-enumerate.c b/src/libudev/libudev-enumerate.c
index a945758e38..f0305a488b 100644
--- a/src/libudev/libudev-enumerate.c
+++ b/src/libudev/libudev-enumerate.c
@@ -789,7 +789,7 @@ static int scan_devices_tags(struct udev_enumerate *udev_enumerate)
if (dent->d_name[0] == '.')
continue;
- dev = udev_device_new_from_id_filename(udev_enumerate->udev, dent->d_name);
+ dev = udev_device_new_from_device_id(udev_enumerate->udev, dent->d_name);
if (dev == NULL)
continue;