[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#322466: busybox-udeb: Newline missing after lsmod header line



tags 322466 patch
thanks

On Wed, Aug 10, 2005 at 10:16:20PM +0200, Frans Pop wrote:
> Package: busybox-udeb
> Version: 1.00-4
> Severity: minor
> 
> # lsmod
> Module                  Size  Used byaf_packet              20104  16
> ext3                  115720   1
> jbd                    48920   1 ext3
> pcnet32                24964   0
> mii                     5120   1 pcnet32
> 
> As you can see, the first module is pronted directly after the header
> instead of on the next line.

This one's trivial:

diff -u busybox-1.01/modutils/lsmod.c busybox-1.01/modutils/lsmod.c
--- busybox-1.01/modutils/lsmod.c
+++ busybox-1.01/modutils/lsmod.c
@@ -184,7 +184,7 @@
 
 extern int lsmod_main(int argc, char **argv)
 {
-	printf("Module                  Size  Used by");
+	printf("Module                  Size  Used by\n");
 
 	if (get_kernel_revision() > MODUTILS_MINIMAL_VERSION_2_6) {
 #ifdef CONFIG_FEATURE_2_6_MODULES

Cheers,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: