Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 21:29:20 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327449 - head/sys/dev/vt/colors
Message-ID:  <201712312129.vBVLTKGZ051386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Sun Dec 31 21:29:20 2017
New Revision: 327449
URL: https://svnweb.freebsd.org/changeset/base/327449

Log:
  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

Modified:
  head/sys/dev/vt/colors/vt_termcolors.c

Modified: head/sys/dev/vt/colors/vt_termcolors.c
==============================================================================
--- head/sys/dev/vt/colors/vt_termcolors.c	Sun Dec 31 21:23:14 2017	(r327448)
+++ head/sys/dev/vt/colors/vt_termcolors.c	Sun Dec 31 21:29:20 2017	(r327449)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712312129.vBVLTKGZ051386>