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

From: Arnaldo Carvalho de Melo
Date: Sat Aug 28 2010 - 11:54:12 EST


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
--
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/