Fix stupid bugs. update was segfaulting. mknod minor # was always 0

due to a parsing bug.  Oops.
 -Erik
This commit is contained in:
Erik Andersen committed 2000-04-28 22:10:34 +00:00
1 parent abc199eb0c
commit 6ed02a0ee0
5 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -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':