[lm-sensors] [Patch] Fix typo in error output
Jean Delvare
khali at linux-fr.org
Thu Jan 29 10:45:37 CET 2009
Hi Andre,
On Thu, 29 Jan 2009 10:09:08 +0100, Andre Prendel wrote:
>
> Removed trailing semicolon in error string.
>
> Signed-off-by: Andre Prendel <andre_prendel at gmx.de>
> ---
>
> --- lm-sensors-dev/prog/sensors/main.c 2009-01-28 18:12:18.000000000 +0100
> +++ my-lm-sensors/prog/sensors/main.c 2009-01-28 22:01:14.000000000 +0100
> @@ -179,7 +179,7 @@ static int do_a_set(const sensors_chip_n
>
> if ((err = sensors_do_chip_sets(name))) {
> if (err == -SENSORS_ERR_KERNEL) {
> - fprintf(stderr, "%s: %s;\n",
> + fprintf(stderr, "%s: %s\n",
> sprintf_chip_name(name),
> sensors_strerror(err));
> fprintf(stderr, "Run as root?\n");
I don't think this is a typo, the semi-colon was probably there on
purpose. But I don't like it much either, so let's get rid of it :)
Patch applied, thanks.
--
Jean Delvare
More information about the lm-sensors
mailing list