[Patch] Fix typo in error output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux