Oops. Remove the debugging noise.

-Erik
This commit is contained in:
Eric Andersen 2000-06-06 22:13:39 +00:00
parent 3232203226
commit fb8ba506bb
2 changed files with 0 additions and 14 deletions

View File

@ -660,13 +660,11 @@ extern int mkfs_minix_main(int argc, char **argv)
#endif #endif
/* Parse options */ /* Parse options */
printf("erik: argc='%d' argv='%s'\n", argc, *argv);
argv++; argv++;
while (--argc >= 0 && *argv && **argv) { while (--argc >= 0 && *argv && **argv) {
if (**argv == '-') { if (**argv == '-') {
stopIt=FALSE; stopIt=FALSE;
while (i > 0 && *++(*argv) && stopIt==FALSE) { while (i > 0 && *++(*argv) && stopIt==FALSE) {
printf("erik: argc='%d' argv='%s'\n", argc, *argv);
switch (**argv) { switch (**argv) {
case 'c': case 'c':
check = 1; check = 1;
@ -685,7 +683,6 @@ printf("erik: argc='%d' argv='%s'\n", argc, *argv);
req_nr_inodes = strtoul(cp, &tmp, 0); req_nr_inodes = strtoul(cp, &tmp, 0);
if (*tmp) if (*tmp)
show_usage(); show_usage();
printf("erik: nr_inodes=%ld\n", req_nr_inodes);
stopIt=TRUE; stopIt=TRUE;
break; break;
} }
@ -694,7 +691,6 @@ printf("erik: nr_inodes=%ld\n", req_nr_inodes);
goto goodbye; goto goodbye;
} }
listfile = *(++argv); listfile = *(++argv);
printf("erik: listfile='%s'\n", listfile);
break; break;
case 'n': case 'n':
{ {
@ -709,8 +705,6 @@ printf("erik: listfile='%s'\n", listfile);
cp = *(++argv); cp = *(++argv);
} }
i = strtoul(cp, &tmp, 0); i = strtoul(cp, &tmp, 0);
//printf("cp='%s' i='%d'\n", cp, i);
printf("erik: namelen=%d\n", i);
if (*tmp) if (*tmp)
show_usage(); show_usage();
if (i == 14) if (i == 14)
@ -741,7 +735,6 @@ goodbye:
} }
} }
} else { } else {
printf("else: argc='%d' argv='%s'\n", argc, *argv);
if (device_name == NULL) if (device_name == NULL)
device_name = *argv; device_name = *argv;
else if (BLOCKS == 0) else if (BLOCKS == 0)

View File

@ -660,13 +660,11 @@ extern int mkfs_minix_main(int argc, char **argv)
#endif #endif
/* Parse options */ /* Parse options */
printf("erik: argc='%d' argv='%s'\n", argc, *argv);
argv++; argv++;
while (--argc >= 0 && *argv && **argv) { while (--argc >= 0 && *argv && **argv) {
if (**argv == '-') { if (**argv == '-') {
stopIt=FALSE; stopIt=FALSE;
while (i > 0 && *++(*argv) && stopIt==FALSE) { while (i > 0 && *++(*argv) && stopIt==FALSE) {
printf("erik: argc='%d' argv='%s'\n", argc, *argv);
switch (**argv) { switch (**argv) {
case 'c': case 'c':
check = 1; check = 1;
@ -685,7 +683,6 @@ printf("erik: argc='%d' argv='%s'\n", argc, *argv);
req_nr_inodes = strtoul(cp, &tmp, 0); req_nr_inodes = strtoul(cp, &tmp, 0);
if (*tmp) if (*tmp)
show_usage(); show_usage();
printf("erik: nr_inodes=%ld\n", req_nr_inodes);
stopIt=TRUE; stopIt=TRUE;
break; break;
} }
@ -694,7 +691,6 @@ printf("erik: nr_inodes=%ld\n", req_nr_inodes);
goto goodbye; goto goodbye;
} }
listfile = *(++argv); listfile = *(++argv);
printf("erik: listfile='%s'\n", listfile);
break; break;
case 'n': case 'n':
{ {
@ -709,8 +705,6 @@ printf("erik: listfile='%s'\n", listfile);
cp = *(++argv); cp = *(++argv);
} }
i = strtoul(cp, &tmp, 0); i = strtoul(cp, &tmp, 0);
//printf("cp='%s' i='%d'\n", cp, i);
printf("erik: namelen=%d\n", i);
if (*tmp) if (*tmp)
show_usage(); show_usage();
if (i == 14) if (i == 14)
@ -741,7 +735,6 @@ goodbye:
} }
} }
} else { } else {
printf("else: argc='%d' argv='%s'\n", argc, *argv);
if (device_name == NULL) if (device_name == NULL)
device_name = *argv; device_name = *argv;
else if (BLOCKS == 0) else if (BLOCKS == 0)