shithub: scc

Download patch

ref: 5bfd2bd34f677b9d84103bfa7429e898ef50298d
parent: 81f93dff1bd8f70d41d598ff7ac0230337706b96
author: Roberto E. Vargas Caballero <[email protected]>
date: Tue Nov 28 10:06:47 EST 2017

[objdump] Fix 0 arguments case

--- a/objdump/main.c
+++ b/objdump/main.c
@@ -247,7 +247,7 @@
 		usage();
 	} ARGEND
 
-	if (argc == 1)
+	if (argc == 0)
 		dump("a.out");
 	else while (*++argv) {
 		free(strings);