diff -urN module-init-tools-3.3-pre2_orig/depmod.c module-init-tools-3.3-pre2_patched/depmod.c
--- module-init-tools-3.3-pre2_orig/depmod.c 2006-09-30 14:20:11.000000000 +0100
+++ module-init-tools-3.3-pre2_patched/depmod.c 2006-09-30 14:19:19.000000000 +0100
@@ -695,13 +695,8 @@
else
afterslash++;
- /* Convert to underscores, stop at first . */
- for (i = 0; afterslash[i] && afterslash[i] != '.'; i++) {
- if (afterslash[i] == '-')
- modname[i] = '_';
- else
+ for (i = 0; afterslash[i] && afterslash[i] != '.'; i++)
modname[i] = afterslash[i];
- }
modname[i] = '\0';
}