diff --git a/scripts/check-symfile.py b/scripts/check-symfile.py index 0c02591991..7aeb047d89 100755 --- a/scripts/check-symfile.py +++ b/scripts/check-symfile.py @@ -52,7 +52,7 @@ with open(symfile, "r") as fh: line = line.strip(";") if line in wantsyms: - print("Symbol $1 is listed twice", file=sys.stderr) + print("Symbol %s is listed twice" % line, file=sys.stderr) ret = 1 else: wantsyms[line] = True