Fix stupid bugs. update was segfaulting. mknod minor # was always 0
due to a parsing bug. Oops. -Erik
This commit is contained in:
		| @@ -52,7 +52,7 @@ extern int update_main(int argc, char **argv) | ||||
|  | ||||
| 	argc--; | ||||
| 	argv++; | ||||
| 	while (**argv == '-') { | ||||
| 	while (argc>0 && **argv == '-') { | ||||
| 		while (*++(*argv)) { | ||||
| 			switch (**argv) { | ||||
| 			case 'S': | ||||
|   | ||||
		Reference in New Issue
	
	Block a user