forked from pool/systemd
a4cc02351c
- udevd: add missing ':' to getopt_long 'e'. 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. - make 'reload' and 'force-reload' LSB compliant (bnc#793936). - udevd: add missing ':' to getopt_long 'e'. 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. - make 'reload' and 'force-reload' LSB compliant (bnc#793936). OBS-URL: https://build.opensuse.org/request/show/147543 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=119
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;
|