From aa8734ffcb8a895fc8d66ff383cbcf8f4b78f562 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 16 Oct 2008 17:16:58 +0200 Subject: udevd: use libudev --- udev/lib/libudev-device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'udev/lib/libudev-device.c') diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index daf2217765..65ba6e30d8 100644 --- a/udev/lib/libudev-device.c +++ b/udev/lib/libudev-device.c @@ -75,7 +75,7 @@ static size_t devpath_to_db_path(struct udev *udev, const char *devpath, char *f return util_path_encode(&filename[start], len - start); } -static int device_read_db(struct udev_device *udev_device) +int udev_device_read_db(struct udev_device *udev_device) { struct stat stats; char filename[UTIL_PATH_SIZE]; @@ -220,7 +220,7 @@ static void device_load_info(struct udev_device *device) { device->info_loaded = 1; udev_device_read_uevent_file(device); - device_read_db(device); + udev_device_read_db(device); } void udev_device_set_info_loaded(struct udev_device *device) -- cgit v1.2.3-54-g00ecf