aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vt
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2017-12-31 21:29:20 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2017-12-31 21:29:20 +0000
commitc127b9f9d1cd74a5f375b1d72a2204b3a77d2a1b (patch)
tree77103d3b97da848611bd3f69e1e33ede7c48895e /sys/dev/vt
parent4d5c5d3ecefef5b6f91913b29767749e5f4c669e (diff)
downloadsrc-c127b9f9d1cd74a5f375b1d72a2204b3a77d2a1b.tar.gz
src-c127b9f9d1cd74a5f375b1d72a2204b3a77d2a1b.zip
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
Notes
Notes: svn path=/head/; revision=327449
Diffstat (limited to 'sys/dev/vt')
-rw-r--r--sys/dev/vt/colors/vt_termcolors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vt/colors/vt_termcolors.c b/sys/dev/vt/colors/vt_termcolors.c
index 1abe4afff862..25282f0abc6e 100644
--- a/sys/dev/vt/colors/vt_termcolors.c
+++ b/sys/dev/vt/colors/vt_termcolors.c
@@ -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;