diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
commit | 9d829ed05c295df608b4fc108eb1c628fd06fd39 (patch) | |
tree | c1b27cfe4498f8abef1a61325922906f3e6a32ff /packages/module-init-tools/files/module-init-tools-remove-index.patch | |
parent | 1434b204e16e87b7f59f074f3036d5dcbcf0116f (diff) | |
parent | 6ccac10beeaaa02a86081bd6179fd57c208ad6b1 (diff) |
merge of '76e1e69496801009ea0aa69c84f76e858978ab99'
and 'db976a98427dd6a195e2cf167e225de2d0206aea'
Diffstat (limited to 'packages/module-init-tools/files/module-init-tools-remove-index.patch')
-rw-r--r-- | packages/module-init-tools/files/module-init-tools-remove-index.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/module-init-tools/files/module-init-tools-remove-index.patch b/packages/module-init-tools/files/module-init-tools-remove-index.patch new file mode 100644 index 0000000000..c56532e007 --- /dev/null +++ b/packages/module-init-tools/files/module-init-tools-remove-index.patch @@ -0,0 +1,14 @@ +http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/package/module-init-tools/module-init-tools-remove-index.patch?rev=16782&view=auto + +diff -ur module-init-tools-3.2.2/modprobe.c module-init-tools-3.2.2-patched/modprobe.c +--- module-init-tools-3.2.2/modprobe.c 2005-12-01 17:42:09.000000000 -0600 ++++ module-init-tools-3.2.2-patched/modprobe.c 2006-12-04 19:50:50.353237649 -0600 +@@ -270,7 +270,7 @@ + char *modname; + + /* Ignore lines without : or which start with a # */ +- ptr = index(line, ':'); ++ ptr = strchr(line, ':'); + if (ptr == NULL || line[strspn(line, "\t ")] == '#') + return 0; + |