Skip to contentSkip to conversation

Module typo fixup

PATCH New Rusty Russell 1 participant 1 message Mar 27, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Module typo fixup

Please apply after those last three (sent a slightly dated patch #2).

kernel/module.c renamed from kernel/module.c.~1~ +1 -1
@@ -1249,7 +1249,7 @@
 		goto cleanup;
 
 	/* Set up EXPORTed & EXPORT_GPLed symbols (section 0 is 0 length) */
-	mod->num_syms = sechdrs[exportindex].sh_size / sizeof(*mod->syms);
+	mod->num_ksyms = sechdrs[exportindex].sh_size / sizeof(*mod->syms);
 	mod->syms = (void *)sechdrs[exportindex].sh_addr;
 	if (crcindex)
 		mod->crcs = (void *)sechdrs[crcindex].sh_addr;

--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.