From 3c90bbbe1f26fc77b4036e2387cd75bcaad2e22b Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 05:58:45 +0100 Subject: [PATCH] lef/defWrite.c: Call to function with fewer arguments than declared parameters Fix code scanning alert no. 23: Call to function with fewer arguments than declared parameters (#38) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- lef/defWrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lef/defWrite.c b/lef/defWrite.c index ccbdef57..bb1b296b 100644 --- a/lef/defWrite.c +++ b/lef/defWrite.c @@ -441,7 +441,7 @@ char *defHNsprintfPrefix(hierName, str, divchar) char *cp, c; if (hierName->hn_parent) - str = defHNsprintfPrefix(hierName->hn_parent, str); + str = defHNsprintfPrefix(hierName->hn_parent, str, divchar); cp = hierName->hn_name; while (*str++ = *cp++) ;