[BusyBox] [PATCH] lsmod forgets \n after headline

Robert Schwebel robert at schwebel.de
Sat Oct 5 03:49:03 UTC 2002


Hi Erik, 

busybox' lsmod (cvs) forgets to print out \n after the tainting message
in the headline - see patch below. 

Do you have plans for making a release for the 0.61 series? 

----------8<----------8<----------8<----------8<----------
diff -u -b -B -w -p -u -r1.30 lsmod.c
--- modutils/lsmod.c	16 Sep 2002 05:30:24 -0000	1.30
+++ modutils/lsmod.c	5 Oct 2002 09:39:14 -0000
@@ -65,6 +65,7 @@ void check_tainted(void) 
 	else {
 		printf("    Not tainted");
 	}
+	printf("\n");
 }
 
 #ifdef CONFIG_FEATURE_QUERY_MODULE_INTERFACE
----------8<----------8<----------8<----------8<----------

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

    Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
   Hall 5, Booth 154 +++ Please contact us for details.



More information about the busybox mailing list