|
|
|
|
97
|
/* Prints a notice about a value which was below `x` and was adjusted to it */
|
97
|
/* Prints a notice about a value which was below `x` and was adjusted to it */
|
98
|
uint64_t light_log_clamp_min(uint64_t min)
|
98
|
uint64_t light_log_clamp_min(uint64_t min)
|
99
|
{
|
99
|
{
|
100
|
- LIGHT_NOTE("too small value, adjusting to mininum %lu (raw)", min);
|
|
|
|
|
100
|
+ LIGHT_NOTE("too small value, adjusting to minimum %lu (raw)", min);
|
101
|
return min;
|
101
|
return min;
|
102
|
}
|
102
|
}
|
103
|
|
103
|
|
104
|
/* Prints a notice about a value which was above `x` and was adjusted to it */
|
104
|
/* Prints a notice about a value which was above `x` and was adjusted to it */
|
105
|
uint64_t light_log_clamp_max(uint64_t max)
|
105
|
uint64_t light_log_clamp_max(uint64_t max)
|
106
|
{
|
106
|
{
|
107
|
- LIGHT_NOTE("too large value, adjusting to mavalimum %lu (raw)", max);
|
|
|
|
|
107
|
+ LIGHT_NOTE("too large value, adjusting to maximum %lu (raw)", max);
|
108
|
return max;
|
108
|
return max;
|
109
|
}
|
109
|
}
|
110
|
|
110
|
|