]> git.pld-linux.org Git - packages/devfsd.git/commitdiff
don't call "modprobe -C /etc/modules.devfs" but "modprobe"
authorArtur Frysiak <artur@frysiak.net>
Thu, 12 Jun 2003 15:13:47 +0000 (15:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    devfsd-kernel2.5.patch -> 1.1

devfsd-kernel2.5.patch [new file with mode: 0644]

diff --git a/devfsd-kernel2.5.patch b/devfsd-kernel2.5.patch
new file mode 100644 (file)
index 0000000..5fecaa1
--- /dev/null
@@ -0,0 +1,24 @@
+--- devfsd/devfsd.c.wiget      2003-06-12 16:56:19.676686669 +0200
++++ devfsd/devfsd.c    2003-06-12 16:57:11.930779628 +0200
+@@ -1239,10 +1239,8 @@
+     }
+     argv[0] = "/sbin/modprobe";
+     argv[1] = "-k";
+-    argv[2] = "-C";
+-    argv[3] = "/etc/modules.devfs";
+-    argv[4] = device;
+-    argv[5] = NULL;
++    argv[2] = device;
++    argv[3] = NULL;
+     snprintf (device, sizeof (device), "/dev/%s", info->devname);
+     if (trace_level > 1)
+       fprintf (stderr, "%s modprobe with name: \"%s\"\n",
+@@ -1252,7 +1250,7 @@
+       char **oldenv = environ;
+       environ = env;
+-      (*modprobe) (5, argv);
++      (*modprobe) (3, argv);
+       environ = oldenv;
+       return;
+     }
This page took 0.051602 seconds and 4 git commands to generate.