mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
Ensure there's at least one space between the label and the value.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5872 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -120,7 +120,10 @@ static int get_label_size(const sensors_chip_name *name)
|
||||
max_size = strlen(label);
|
||||
free(label);
|
||||
}
|
||||
return max_size + 1;
|
||||
|
||||
/* One more for the colon, and one more to guarantee at least one
|
||||
space between that colon and the value */
|
||||
return max_size + 2;
|
||||
}
|
||||
|
||||
static void print_temp_limits(double limit1, double limit2,
|
||||
|
Reference in New Issue
Block a user