Messages in this thread Patch in this message | | | Date | Thu, 11 Aug 2005 17:07:50 +0900 (JST) | From | Hiroki Kaminaga <> |
| |
Hi,
I don't know if this is a bug, but on kernel src code, `-' and `,' is substituted to `_' in scripts/Makefile.lib but, in latest module-init-tools-3.2-pre9, only `-' is handled, but not ','.
Attached is the patch for this problem against module-init-tools.
Regards,
HK. --diff -uNrp module-init-tools-3.2-pre9-orig/rmmod.c module-init-tools-3.2-pre9/rmmod.c --- module-init-tools-3.2-pre9-orig/rmmod.c Wed Feb 25 16:10:51 2004 +++ module-init-tools-3.2-pre9/rmmod.c Thu Aug 11 16:50:32 2005 @@ -165,6 +165,8 @@ static void filename2modname(char *modna for (i = 0; afterslash[i] && afterslash[i] != '.'; i++) { if (afterslash[i] == '-') modname[i] = '_'; + else if (afterslash[i] == ',') + modname[i] = '_'; else modname[i] = afterslash[i]; } | |