All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [Patch] Fix typo in error output
Date: Thu, 29 Jan 2009 09:45:37 +0000	[thread overview]
Message-ID: <20090129104537.336ab8cd@hyperion.delvare> (raw)
In-Reply-To: <20090129090908.GA4410@ubuntu>

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

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

      reply	other threads:[~2009-01-29  9:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-29  9:09 [lm-sensors] [Patch] Fix typo in error output Andre Prendel
2009-01-29  9:45 ` Jean Delvare [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090129104537.336ab8cd@hyperion.delvare \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.