[BusyBox-cvs] busybox/modutils lsmod.c,1.39,1.40

Erik Andersen andersen at busybox.net
Wed Aug 6 08:53:16 UTC 2003


Update of /var/cvs/busybox/modutils
In directory winder:/tmp/cvs-serv18144/modutils

Modified Files:
	lsmod.c 
Log Message:
Steven Scholz writes:

    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


Index: lsmod.c
===================================================================
RCS file: /var/cvs/busybox/modutils/lsmod.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- lsmod.c	14 Jul 2003 21:21:00 -0000	1.39
+++ lsmod.c	6 Aug 2003 08:53:13 -0000	1.40
@@ -66,7 +66,6 @@
 	else {
 		printf("    Not tainted\n");
 	}
-	printf("\n");
 }
 #endif
 




More information about the busybox-cvs mailing list