SHA256
1
0
forked from pool/systemd
systemd/1007-fix-devname-prefix.patch

23 lines
776 B
Diff
Raw Normal View History

From: Frederic Crozat <fcrozat@suse.com>
Date: Wed, 5 Dec 2012 15:13:27 +0000
Subject: fix devname prefix
fix modules.devname path, it isn't in /usr.
---
src/udev/udevd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
2013-04-19 22:31:17 +02:00
index d0c4c72..599cd3b 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
2013-04-19 22:31:17 +02:00
@@ -831,7 +831,7 @@ static void static_dev_create_from_modules(struct udev *udev)
return;
}
- strscpyl(modules, sizeof(modules), ROOTPREFIX "/lib/modules/", kernel.release, "/modules.devname", NULL);
+ strscpyl(modules, sizeof(modules), "/lib/modules/", kernel.release, "/modules.devname", NULL);
f = fopen(modules, "re");
if (f == NULL)
return;