inst_hilight_hash_lookup(): fix wrong format string in debug message

This commit is contained in:
Stefan Frederik 2022-10-12 16:50:09 +02:00
parent e14c8b9a11
commit 3729a4b3d1
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ Hilight_hashentry *inst_hilight_hash_lookup(const char *token, int value, int wh
char *inst_tok = NULL;
size_t len = strlen(token) + 2; /* token plus one more character and \0 */
Hilight_hashentry *entry;
dbg(1, "inst_hilight_hash_lookup: token=%s value=%s what=%d\n", token, value, what);
dbg(1, "inst_hilight_hash_lookup: token=%s value=%d what=%d\n", token, value, what);
inst_tok = my_malloc(1568, len);
/* instance name uglyfication: add a space at beginning so it will never match a valid net name */
my_snprintf(inst_tok, len, " %s", token);