shithub: scc

Download patch

ref: ce102b50f7bdb2abb095b01b92882a90744f6490
parent: 26264ba59a97728187c81d84584caf8de23c4fae
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Mar 12 17:32:34 EDT 2018

[nm] Fix decimal radix

It was the same format string than octal output

--- a/nm/main.c
+++ b/nm/main.c
@@ -154,7 +154,7 @@
 			fmt = "                ";
 		else if (radix == 8)
 			fmt = "%016.16llo";
-		else if (radix == 8)
+		else if (radix == 10)
 			fmt = "%016.16lld";
 		else
 			fmt = "%016.16llx";