- switch (c) {
- case 'f':
- fname = optarg;
- break;
- case 'n':
- iovcnt = strtoul(optarg, &end, 0);
- if (*end) {
- printf("Bad iov count: %s\n", optarg);
- return 1;
- }
- if (iovcnt > UIO_MAXIOV || iovcnt <= 0) {
- printf("Wrong iov count\n");
- return 1;
- }
- break;
- case 's':
- act |= ACT_SEEK;
- offset = strtoull(optarg, &end, 0);
- if (*end) {
- printf("Bad seek offset: %s\n", optarg);
- return 1;
- }
- break;
+ switch (c) {
+ case 'f':
+ fname = optarg;
+ break;
+ case 'n':
+ iovcnt = strtoul(optarg, &end, 0);
+ if (*end) {
+ printf("Bad iov count: %s\n", optarg);
+ return 1;
+ }
+ if (iovcnt > UIO_MAXIOV || iovcnt <= 0) {
+ printf("Wrong iov count\n");
+ return 1;
+ }
+ break;
+ case 's':
+ act |= ACT_SEEK;
+ offset = strtoull(optarg, &end, 0);
+ if (*end) {
+ printf("Bad seek offset: %s\n", optarg);
+ return 1;
+ }
+ break;