14 lines
594 B
Diff
14 lines
594 B
Diff
|
Index: systemd-195/src/udev/udevd.c
|
||
|
===================================================================
|
||
|
--- systemd-195.orig/src/udev/udevd.c
|
||
|
+++ systemd-195/src/udev/udevd.c
|
||
|
@@ -820,7 +820,7 @@ static void static_dev_create_from_modul
|
||
|
FILE *f;
|
||
|
|
||
|
uname(&kernel);
|
||
|
- util_strscpyl(modules, sizeof(modules), ROOTPREFIX "/lib/modules/", kernel.release, "/modules.devname", NULL);
|
||
|
+ util_strscpyl(modules, sizeof(modules), "/lib/modules/", kernel.release, "/modules.devname", NULL);
|
||
|
f = fopen(modules, "re");
|
||
|
if (f == NULL)
|
||
|
return;
|