commit 18fe95dfa546b5adfbf5580e5beb31c8d145507b
parent b77633f7ad3ecd0f88a81076577ac1be8f904784
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 12 Mar 2018 21:32:34 +0100
[nm] Fix decimal radix
It was the same format string than octal output
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nm/main.c b/nm/main.c
@@ -154,7 +154,7 @@ printsym(char *file, char *member, struct symbol *sym)
fmt = " ";
else if (radix == 8)
fmt = "%016.16llo";
- else if (radix == 8)
+ else if (radix == 10)
fmt = "%016.16lld";
else
fmt = "%016.16llx";