Re: [PATCH] perf: Remove newline character from perror() argument

From: Arnaldo Carvalho de Melo
Date: Tue Oct 26 2010 - 10:52:44 EST


Em Tue, Oct 26, 2010 at 03:34:48PM +0100, Matt Fleming escreveu:
> On Sat, Aug 28, 2010 at 12:52:51PM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Sat, Aug 28, 2010 at 04:46:19PM +0100, Matt Fleming escreveu:
> > > If we include a newline character in the string argument to perror()
> > > then the output will be split across two lines like so,
> > >
> > > Unable to read perf file descriptor
> > > : No space left on device
> > >
> > > Deleting the newline character prints a much more readable error,
> > >
> > > Unable to read perf file descriptor: No space left on device
> >
> > Thanks, applying.
> >
> > - Arnaldo
>
> Hi Arnaldo,
>
> Whatever happend to this? I can't see it in any of the perf trees.

Checking... Will fold it in if I missed it, thanks for the reminder!

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/