commit 874d8f3c5c9165988f6c51bebfa6104a2186ce88
parent 8bbde8d70865d86dfb70713f7c1304a6a2ef4de5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 17 Oct 2024 12:12:45 +0200
as: Use the correct specifier
The field value is unsigned long long, and for that reason
it should match a llX specifier instead of a X specifier.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cmd/as/symbol.c b/src/cmd/as/symbol.c
@@ -65,7 +65,7 @@ dumpstab(char *msg)
fprintf(stderr, "[%d]", (int) (bp - hashtbl));
for (lp = *bp; lp; lp = lp->hash) {
- fprintf(stderr, " -> %s:%0X:%0X",
+ fprintf(stderr, " -> %s:%0X:%0llX",
lp->sym.name,
lp->sym.flags,
lp->sym.value);