Unbreak build broken by r327444

During review iterations function signature has changed in definition
but not in actual call. Fix call to match the definition.

Reported by:	Herbert J. Skuhra
Pointyhat to: gonzo
MFC after:	2 weeks
This commit is contained in:
Oleksandr Tymoshenko 2017-12-31 21:29:20 +00:00
parent 4d5c5d3ece
commit c127b9f9d1

View File

@ -155,7 +155,7 @@ vt_palette_init()
snprintf(tunable, sizeof(tunable),
"kern.vt.color.%d.rgb", i);
if (TUNABLE_STR_FETCH(tunable, rgb, sizeof(rgb))) {
if (vt_parse_rgb_triplet(rgb, strlen(rgb), &r, &g, &b) == 0) {
if (vt_parse_rgb_triplet(rgb, &r, &g, &b) == 0) {
/* convert to percentages */
color_def[i].r = r*100/255;
color_def[i].g = g*100/255;