diff options
author | David Cortarello <dcortarello@gmail.com> | 2015-03-25 01:48:36 -0300 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-03-27 11:34:13 -0400 |
commit | 6a398265f3bd30a252cba2b1ada04ff1c617cf96 (patch) | |
tree | 2a0761e4c4b46b8bb433e24032a4353cab3bed58 /src/libudev/libudev-device.c | |
parent | 3cda11ed7c226adc9f4818cecfb21974239d632b (diff) |
Remove hardcoded path /run and configure using --with-rootrundir=
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-device.c')
-rw-r--r-- | src/libudev/libudev-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c index d510b47cd1..9e6a45efa6 100644 --- a/src/libudev/libudev-device.c +++ b/src/libudev/libudev-device.c @@ -610,7 +610,7 @@ static int udev_device_read_db(struct udev_device *udev_device) if (id == NULL) return -1; - strscpyl(filename, sizeof(filename), "/run/udev/data/", id, NULL); + strscpyl(filename, sizeof(filename), UDEV_ROOT_RUN "/udev/data/", id, NULL); f = fopen(filename, "re"); if (f == NULL) |