From b80680eda9e615711414b7efa2d81e4ac1496b6a Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 1 Jul 2012 19:37:52 -0400 Subject: udevd: use ROOTPREFIX to create path to modules.devname --- src/udev/udevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-54-g00ecf