aboutsummaryrefslogtreecommitdiffstats
path: root/system.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-24 05:17:58 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-24 05:17:58 +0000
commit019808ae3222f7dc718b8a66d999aabac9f633ee (patch)
tree072381f83d0966b48fb518505e693e326d9b72ce /system.c
parent86a3dd8e35847debfdce7c65e52b8ffd8913689a (diff)
downloadlcd4linux-019808ae3222f7dc718b8a66d999aabac9f633ee.tar.gz
[lcd4linux @ 2003-08-24 05:17:58 by reinelt]
liblcd4linux patch from Patrick Schemitz git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@228 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'system.c')
-rw-r--r--system.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/system.c b/system.c
index 6a47e7e..2b075c9 100644
--- a/system.c
+++ b/system.c
@@ -1,4 +1,4 @@
-/* $Id: system.c,v 1.28 2003/06/26 05:31:16 reinelt Exp $
+/* $Id: system.c,v 1.29 2003/08/24 05:17:58 reinelt Exp $
*
* system status retreivement
*
@@ -20,6 +20,9 @@
*
*
* $Log: system.c,v $
+ * Revision 1.29 2003/08/24 05:17:58 reinelt
+ * liblcd4linux patch from Patrick Schemitz
+ *
* Revision 1.28 2003/06/26 05:31:16 reinelt
* bug in /proc/net/dev parsing fixed
*
@@ -774,7 +777,7 @@ int Sensor (int index, double *val, double *min, double *max)
snprintf(buffer, 32, "Sensor%d", index);
sensor[index]=cfg_get(buffer, NULL);
if (sensor[index]==NULL || *sensor[index]=='\0') {
- error ("no entry for '%s' in %s", buffer, cfg_file());
+ error ("no entry for '%s' in %s", buffer, cfg_source());
fd[index]=-1;
return -1;
}