Fix spurious spaces in lsmod output
authorSantiago Vila <sanvila@unex.es>
Thu, 16 Apr 2015 11:44:22 +0000 (08:44 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 16 Apr 2015 11:46:43 +0000 (08:46 -0300)
commit7266ec43371fff8304e730b24729b2c6a95d75c4
tree51096a7a0baa6b7b517aa5444c64f49a3315ab8c
parenta8c73b86091f9ab3a39d80f80e4258e4c039a27d
Fix spurious spaces in lsmod output

While using "localyesconfig" to build a custom kernel I noticed that
lsmod output now has trailing spaces when the list of "Used by" modules
is empty.

The following patch just delays the space to the point where we are sure
that there are more things to print.
tools/lsmod.c