forked from pool/systemd
54e3a89734
add: 1007-udevd-add-missing-to-getopt_long-e.patch - clean up systemd.spec, make it easy to see which are udev and systemd patches. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=324
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;
|