[BACK]Return to params.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sbin / cgdconfig

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sbin/cgdconfig/params.c between version 1.7 and 1.8

version 1.7, 2003/07/13 07:58:19 version 1.8, 2003/09/23 17:24:46
Line 264  params_verify_method(string_t *in)
Line 264  params_verify_method(string_t *in)
                 p->verify_method = VERIFY_DISKLABEL;                  p->verify_method = VERIFY_DISKLABEL;
         if (!strcmp("ffs", vm))          if (!strcmp("ffs", vm))
                 p->verify_method = VERIFY_FFS;                  p->verify_method = VERIFY_FFS;
           if (!strcmp("re-enter", vm))
                   p->verify_method = VERIFY_REENTER;
   
         string_free(in);          string_free(in);
   
Line 701  params_fput(struct params *p, FILE *f)
Line 703  params_fput(struct params *p, FILE *f)
         case VERIFY_FFS:          case VERIFY_FFS:
                 print_kvpair_cstr(f, ts, "verify_method", "ffs");                  print_kvpair_cstr(f, ts, "verify_method", "ffs");
                 break;                  break;
           case VERIFY_REENTER:
                   print_kvpair_cstr(f, ts, "verify_method", "re-enter");
                   break;
         default:          default:
                 fprintf(stderr, "unsupported verify_method (%d)\n",                  fprintf(stderr, "unsupported verify_method (%d)\n",
                     p->verify_method);                      p->verify_method);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>