Steven Scholz writes:
authorEric Andersen <andersen@codepoet.org>
Wed, 6 Aug 2003 08:53:13 +0000 (08:53 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 6 Aug 2003 08:53:13 +0000 (08:53 -0000)
    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]

and this patch from Steven fixes the problem

modutils/lsmod.c

index f1eebfc..1b914e7 100644 (file)
@@ -66,7 +66,6 @@ static void check_tainted(void)
        else {
                printf("    Not tainted\n");
        }
-       printf("\n");
 }
 #endif