From 6a5dc5d75a1368464fc7e085aa1f1d4c453d27cd Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 30 Dec 2006 18:42:29 +0000 Subject: next bunch of fixes for bugs found by randconfig --- modutils/insmod.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modutils/insmod.c') diff --git a/modutils/insmod.c b/modutils/insmod.c index 842ef09d0..866e333ec 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -3859,11 +3859,12 @@ add_ksymoops_symbols(struct obj_file *f, const char *filename, #if ENABLE_FEATURE_INSMOD_LOAD_MAP static void print_load_map(struct obj_file *f) { - struct obj_symbol *sym; - struct obj_symbol **all, **p; struct obj_section *sec; +#if ENABLE_FEATURE_INSMOD_LOAD_MAP_FULL + struct obj_symbol **all, **p; int i, nsyms, *loaded; - + struct obj_symbol *sym; +#endif /* Report on the section layout. */ printf("Sections: Size %-*s Align\n", -- cgit v1.2.3