(no subject)
From: Hiroki Kaminaga (kaminaga_at_sm.sony.co.jp)
Date: 08/11/05
- Previous message: Michael Kerrisk: "Re: fcntl(F GETLEASE) semantics??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Aug 2005 17:07:50 +0900 (JST) To: rusty@rustcorp.com.au, adam@yggdrasil.com
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];
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Michael Kerrisk: "Re: fcntl(F GETLEASE) semantics??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|