All of lore.kernel.org
 help / color / mirror / Atom feed
From: aurelien@aurel32.net (Aurelien Jarno)
To: lm-sensors@vger.kernel.org
Subject: [PATCH] sensord: wrong error message with /proc or /sys not
Date: Thu, 19 May 2005 06:25:29 +0000	[thread overview]
Message-ID: <20050105220231.GD19356@bode.aurel32.lan> (raw)
In-Reply-To: <20050105212346.GA19356@bode.aurel32.lan>

On Wed, Jan 05, 2005 at 10:39:49PM +0100, Jean Delvare wrote:
> > BTW, on 2.6 kernels the sensors informations are in /sys and not
> > /proc. The message may be changed into:
> > 
> >   Error reading /proc or /sys; modules probably not loaded
> 
> True. I would certainly accept a patch that does this ;)
Attached. 

-- 
  .''`.  Aurelien Jarno	              GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net
-------------- next part --------------
Index: prog/sensord/lib.c
=================================RCS file: /home/cvs/lm_sensors2/prog/sensord/lib.c,v
retrieving revision 1.5
diff -u -1 -b -p -r1.5 lib.c
--- prog/sensord/lib.c	5 Jan 2005 21:44:57 -0000	1.5
+++ prog/sensord/lib.c	5 Jan 2005 22:10:15 -0000
@@ -82,3 +82,3 @@ loadConfig
         if (ret = -SENSORS_ERR_PROC)
-          sensorLog (LOG_ERR, "Error reading /proc; modules probably not loaded");
+          sensorLog (LOG_ERR, "Error reading /proc or /sys; modules probably not loaded");
         else
@@ -99,3 +99,3 @@ loadConfig
       if (ret = -SENSORS_ERR_PROC)
-        sensorLog (LOG_ERR, "Error reading /proc; modules probably not loaded");
+        sensorLog (LOG_ERR, "Error reading /proc or /sys; modules probably not loaded");
       else

  parent reply	other threads:[~2005-05-19  6:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:25 [PATCH] sensord: wrong error message with /proc or /sys not Aurelien Jarno
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Aurelien Jarno [this message]
2005-05-19  6:25 ` Jean Delvare

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=20050105220231.GD19356@bode.aurel32.lan \
    --to=aurelien@aurel32.net \
    --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.