1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 21:49:07 +00:00

platform stuff

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@918 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Philip Kovacs 2007-08-13 00:56:42 +00:00
parent 33943bda7c
commit 1b509f9357
2 changed files with 2 additions and 2 deletions

View File

@ -2619,7 +2619,7 @@ static struct text_object *construct_text_object(const char *s, const char *arg,
strncpy(obj->data.i2c.type, buf2, 63);
}
END OBJ(i2c, INFO_PLATFORM)
END OBJ(platform, INFO_PLATFORM)
char buf1[64], buf2[64];
int n;

View File

@ -688,7 +688,7 @@ int open_sysbus_sensor(const char *dir, const char *dev, const char *type, int n
/* open file */
fd = open(path, O_RDONLY);
if (fd < 0) {
CRIT_ERR("can't open '%s': %s\nplease fix i2c or remove it from Conky", path, strerror(errno));
CRIT_ERR("can't open '%s': %s\nplease check your device or remove this var from Conky", path, strerror(errno));
}
if (strcmp(type, "in") == 0 || strcmp(type, "temp") == 0