summaryrefslogtreecommitdiff
path: root/src/udev/udevd.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-07-01 19:37:52 -0400
committerKay Sievers <kay@vrfy.org>2012-07-02 03:04:24 +0200
commitb80680eda9e615711414b7efa2d81e4ac1496b6a (patch)
tree38bceadc18fe363396f05c998b35da8f0ba96ae0 /src/udev/udevd.c
parent33c5fae93976505df343b842727f93910ad510c6 (diff)
udevd: use ROOTPREFIX to create path to modules.devname
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index e635795fb6..1d6b23087b 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -806,7 +806,7 @@ static void static_dev_create_from_modules(struct udev *udev)
FILE *f;
uname(&kernel);
- util_strscpyl(modules, sizeof(modules), "/lib/modules/", kernel.release, "/modules.devname", NULL);
+ util_strscpyl(modules, sizeof(modules), ROOTPREFIX "/lib/modules/", kernel.release, "/modules.devname", NULL);
f = fopen(modules, "r");
if (f == NULL)
return;