[PATCH] Module typo fixup

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Wed Mar 26 2003 - 23:26:26 EST


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

--- working-2.5.66-bk2-extable-list/kernel/module.c.~1~ 2003-03-27 15:24:21.000000000 +1100
+++ working-2.5.66-bk2-extable-list/kernel/module.c 2003-03-27 15:24:55.000000000 +1100
@@ -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.
-
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/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:27 EST