summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 79e53b4)
raw | patch | inline | side by side (parent: 79e53b4)
author | Lubos Stanek <kolektor@atlas.cz> | |
Mon, 11 Dec 2006 22:33:55 +0000 (23:33 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 13 Dec 2006 07:05:11 +0000 (08:05 +0100) |
Signed-off-by: Stanek Lubos <kolektor@atlas.cz>
src/sensors.c | patch | blob | history |
diff --git a/src/sensors.c b/src/sensors.c
index ff8b580de0a688e51bf6e02c6541de1d636b54ca..93f93fc3fff75c06e7598c2360aaf2d5269505be 100644 (file)
--- a/src/sensors.c
+++ b/src/sensors.c
{
if (ignorelist_add (sensor_list, value))
{
- syslog (LOG_EMERG, "Cannot add value to ignorelist.");
+ syslog (LOG_EMERG, MODULE_NAME": Cannot add value to ignorelist.");
return (1);
}
}
if (sensors_init (fh))
{
fclose (fh);
- syslog (LOG_ERR, "sensors: Cannot initialize sensors. "
+ syslog (LOG_ERR, MODULE_NAME": Cannot initialize sensors. "
"Data will not be collected.");
return;
}
if ((new_feature = (featurelist_t *) malloc (sizeof (featurelist_t))) == NULL)
{
- DBG ("sensors plugin: malloc: %s",
- strerror (errno));
- syslog (LOG_ERR, "sensors plugin: malloc: %s",
+ DBG ("malloc: %s", strerror (errno));
+ syslog (LOG_ERR, MODULE_NAME": malloc: %s",
strerror (errno));
break;
}