2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

Don't print the feature name for subfeatures in raw mode. Subfeatures

typically don't have a label so printing their label is equivalent
to printing their name, so printing it again is redundant.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4725 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2007-08-26 21:10:42 +00:00
parent deb41a945d
commit 4e5d695411

View File

@@ -48,8 +48,7 @@ void print_chip_raw(const sensors_chip_name *name)
continue;
}
if (data->mapping != SENSORS_NO_MAPPING)
printf(" %s: %.2f (%s)\n", label, val,
data->name);
printf(" %s: %.2f\n", label, val);
else
printf("%s: %.2f (%s)\n", label, val,
data->name);