mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-28 20:58:22 +00:00
Rename sensors_chip_name.busname to path, as this is what we are using
it for by now. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4673 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b52225ffc0
commit
8896ba3b1f
5 files changed
+8
-11
No files matched your search
+1
-1
@@ -170,7 +170,7 @@ int sensors_get_label(const sensors_chip_name *name, int feature, char **result)
|
||||
}
|
||||
|
||||
/* No user specified label, check for a _label sysfs file */
|
||||
snprintf(path, PATH_MAX, "%s/%s_label", name->busname,
|
||||
snprintf(path, PATH_MAX, "%s/%s_label", name->path,
|
||||
featureptr->data.name);
|
||||
|
||||
if ((f = fopen(path, "r"))) {
|
||||
|
||||
Reference in new issue
Block a user