[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] Output of lsmod "wrong".
From:       Steven Scholz <steven.scholz () imc-berlin ! de>
Date:       2003-07-30 13:48:48
[Download RAW message or body]

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 list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic