[BusyBox] Output of lsmod "wrong".
Steven Scholz
steven.scholz at imc-berlin.de
Wed Jul 30 13:48:48 UTC 2003
Hi there,
the output of lsmod (busybox-1.00-pre2) contains IMHO one "\n" too
much when using CONFIG_FEATURE_CHECK_TAINTED_MODULE:
~ # lsmod
Module Size Used by Tainted: P
ds 8364 1
m8xx_pcmcia 5388 1
pcmcia_core 40736 0 [ds m8xx_pcmcia]
~ #
Could be solved by doing:
+ diff -u ./modutils/lsmod.c.orig ./modutils/lsmod.c
--- ./modutils/lsmod.c.orig Wed Jul 30 15:45:20 2003
+++ ./modutils/lsmod.c Wed Jul 30 15:45:36 2003
@@ -66,7 +66,6 @@
else {
printf(" Not tainted\n");
}
- printf("\n");
}
#endif
Thanks,
Steven
More information about the busybox
mailing list