From 1b509f93579a5d8bc83168b4020465296c027295 Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Mon, 13 Aug 2007 00:56:42 +0000 Subject: [PATCH] platform stuff git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@918 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.c | 2 +- src/linux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.c b/src/conky.c index 170f7b7c..c5e02e44 100644 --- a/src/conky.c +++ b/src/conky.c @@ -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; diff --git a/src/linux.c b/src/linux.c index 3a9456d6..e1e18895 100644 --- a/src/linux.c +++ b/src/linux.c @@ -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