shithub: scc

Download patch

ref: d7c503ac9d395a3dbda13c4f2cb1265811df16e1
parent: da6fca55d37c4e21f589dce2575b6da527382b4e
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Mar 12 18:07:06 EDT 2018

[nm] Fix octal radix in P format

--- a/nm/main.c
+++ b/nm/main.c
@@ -142,7 +142,7 @@
 		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