commit aecf1b5658fbced93ba4e6018232528fb73cddca
parent 6a75f6a566a59b7539d8bf076113f2eaf1c8e3e1
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 12 Mar 2018 22:07:06 +0100
[nm] Fix octal radix in P format
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nm/main.c b/nm/main.c
@@ -142,7 +142,7 @@ printsym(char *file, char *member, struct symbol *sym)
printf("%s %c", sym->name, sym->type);
if (type != 'U') {
if (radix == 8)
- fmt = " %16.6llo %lo";
+ fmt = " %016.16llo %lo";
else if (radix == 10)
fmt = " %016.16llu %lu";
else