aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 525fc2dc2..f2ee19f8f 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -164,7 +164,7 @@ extern int lsmod_main(int argc, char **argv)
164{ 164{
165 printf("Module Size Used by"); 165 printf("Module Size Used by");
166 check_tainted(); 166 check_tainted();
167#if defined(CONFIG_FEATURE_2_6_MODULES) 167#if defined(CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT)
168 { 168 {
169 FILE *file; 169 FILE *file;
170 char line[4096]; 170 char line[4096];
@@ -204,6 +204,7 @@ extern int lsmod_main(int argc, char **argv)
204 } 204 }
205 fclose(file); 205 fclose(file);
206 } 206 }
207 return 0; /* Success */
207#else 208#else
208 if (bb_xprint_file_by_name("/proc/modules") < 0) { 209 if (bb_xprint_file_by_name("/proc/modules") < 0) {
209 return 0; 210 return 0;