logo       

Output of lsmod "wrong".: msg#00249

linux.busybox

Subject: Output of lsmod "wrong".

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise