coverity: Fix coverity issue 68/226168/4 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114215 accepted/tizen/6.0/unified/hotfix/20201103.002439 accepted/tizen/6.5/unified/20211028.120131 accepted/tizen/unified/20200228.123724 submit/tizen/20200227.094013 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 submit/tizen_6.5/20211028.162501 tizen_6.0.m2_release tizen_6.5.m2_release
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 27 Feb 2020 08:23:35 +0000 (17:23 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 27 Feb 2020 09:05:21 +0000 (18:05 +0900)
Fix wrong paraters for format specifier.

Change-Id: I59933e132f285437d26d25761dd8f7c31bcfc486
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/toolbox.c

index 607247b..4db0e9a 100644 (file)
@@ -389,7 +389,7 @@ static int putcb(struct parsing *parsing,
                conferr("line %d: reserved variable name '%.*s'\n"
                                "..: %.*s\n..: %*s\n",
                                   here.lino, (int)lname, name,
-                                  here.lino, (int)here.length, here.begin, here.colno, "^");
+                                  (int)here.length, here.begin, here.colno, "^");
 
                errcount++;
                dependant = 0;