On Tue, Dec 8, 2009 at 7:03 PM, Jan Safranek <[email protected]> wrote: > Remove trailing space from lssubsys output, it can confuse scripts. > > Signed-off-by: Jan Safranek <[email protected]> Acked-by: Dhaval Giani <[email protected]> > --- > > src/tools/lssubsys.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/tools/lssubsys.c b/src/tools/lssubsys.c > index 959b9bf..8a24f61 100644 > --- a/src/tools/lssubsys.c > +++ b/src/tools/lssubsys.c > @@ -71,7 +71,7 @@ int print_controller(cont_name_t cont_name, int flags) > if ((flags & FL_MOUNT) != 0) > printf("%s %s\n", name, path); > else > - printf("%s \n", name); > + printf("%s\n", name); > if ((flags & FL_LIST) != 0) { > /* we succesfully finish printing */ > output = 0; > @@ -99,7 +99,7 @@ int print_controller(cont_name_t cont_name, int flags) > if ((flags & FL_MOUNT) != 0) > printf("%s %s\n", name, path); > else > - printf("%s \n", name); > + printf("%s\n", name); > if ((flags & FL_LIST) != 0) > ret = 0; > } > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > Libcg-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libcg-devel >
-- Stephen Leacock - "I detest life-insurance agents: they always argue that I shall some day die, which is not so." - http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
