#endif
/* Parse options */
-printf("erik: argc='%d' argv='%s'\n", argc, *argv);
argv++;
while (--argc >= 0 && *argv && **argv) {
if (**argv == '-') {
stopIt=FALSE;
while (i > 0 && *++(*argv) && stopIt==FALSE) {
-printf("erik: argc='%d' argv='%s'\n", argc, *argv);
switch (**argv) {
case 'c':
check = 1;
req_nr_inodes = strtoul(cp, &tmp, 0);
if (*tmp)
show_usage();
-printf("erik: nr_inodes=%ld\n", req_nr_inodes);
stopIt=TRUE;
break;
}
goto goodbye;
}
listfile = *(++argv);
-printf("erik: listfile='%s'\n", listfile);
break;
case 'n':
{
cp = *(++argv);
}
i = strtoul(cp, &tmp, 0);
- //printf("cp='%s' i='%d'\n", cp, i);
-printf("erik: namelen=%d\n", i);
if (*tmp)
show_usage();
if (i == 14)
}
}
} else {
-printf("else: argc='%d' argv='%s'\n", argc, *argv);
if (device_name == NULL)
device_name = *argv;
else if (BLOCKS == 0)
#endif
/* Parse options */
-printf("erik: argc='%d' argv='%s'\n", argc, *argv);
argv++;
while (--argc >= 0 && *argv && **argv) {
if (**argv == '-') {
stopIt=FALSE;
while (i > 0 && *++(*argv) && stopIt==FALSE) {
-printf("erik: argc='%d' argv='%s'\n", argc, *argv);
switch (**argv) {
case 'c':
check = 1;
req_nr_inodes = strtoul(cp, &tmp, 0);
if (*tmp)
show_usage();
-printf("erik: nr_inodes=%ld\n", req_nr_inodes);
stopIt=TRUE;
break;
}
goto goodbye;
}
listfile = *(++argv);
-printf("erik: listfile='%s'\n", listfile);
break;
case 'n':
{
cp = *(++argv);
}
i = strtoul(cp, &tmp, 0);
- //printf("cp='%s' i='%d'\n", cp, i);
-printf("erik: namelen=%d\n", i);
if (*tmp)
show_usage();
if (i == 14)
}
}
} else {
-printf("else: argc='%d' argv='%s'\n", argc, *argv);
if (device_name == NULL)
device_name = *argv;
else if (BLOCKS == 0)