summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-30 18:42:29 +0000
committerDenis Vlasenko2006-12-30 18:42:29 +0000
commit6a5dc5d75a1368464fc7e085aa1f1d4c453d27cd (patch)
treed270e6fa41ae3b327aaef60a956328961795594a /modutils
parent3bba545a54addf59b63a003e7ada03fd8b29b5ba (diff)
downloadbusybox-6a5dc5d75a1368464fc7e085aa1f1d4c453d27cd.zip
busybox-6a5dc5d75a1368464fc7e085aa1f1d4c453d27cd.tar.gz
next bunch of fixes for bugs found by randconfig
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 842ef09..866e333 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",