From 81469dae34a36e6916226fc7f60772452fc7bf0d Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 21 May 2009 01:44:45 +0200 Subject: fix location of database files --- udev/lib/libudev-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev/lib/libudev-device.c') diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index 37b3a3b7a2..ea54badde4 100644 --- a/udev/lib/libudev-device.c +++ b/udev/lib/libudev-device.c @@ -68,7 +68,7 @@ static size_t devpath_to_db_path(struct udev *udev, const char *devpath, char *f s = filename; l = util_strpcpyl(&s, len, udev_get_dev_path(udev), "/.udev/db/", NULL); - return util_path_encode(devpath, filename, l); + return util_path_encode(devpath, s, l); } int udev_device_read_db(struct udev_device *udev_device) -- cgit v1.2.3-54-g00ecf