lkml.org 
[lkml]   [2005]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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];
}
\
 
 \ /
  Last update: 2005-08-11 10:15    [W:0.024 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site