[BACK]Return to msdos.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.sbin / makefs

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

Diff for /src/usr.sbin/makefs/msdos.c between version 1.2 and 1.3

version 1.2, 2013/01/23 21:32:32 version 1.3, 2013/01/23 21:42:22
Line 101  ALLOPTS
Line 101  ALLOPTS
 #undef AOPT  #undef AOPT
                 { .name = NULL }                  { .name = NULL }
         };          };
           int i, rv;
   
         assert(option != NULL);          assert(option != NULL);
         assert(fsopts != NULL);          assert(fsopts != NULL);
Line 109  ALLOPTS
Line 110  ALLOPTS
         if (debug & DEBUG_FS_PARSE_OPTS)          if (debug & DEBUG_FS_PARSE_OPTS)
                 printf("msdos_parse_opts: got `%s'\n", option);                  printf("msdos_parse_opts: got `%s'\n", option);
   
         return set_option(msdos_options, option);          rv = set_option(msdos_options, option);
           if (rv == 0)
                   return rv;
   
           for (i = 0; msdos_options[i].name != NULL && (1 << i) != rv; i++)
                   break;
           if (msdos_options[i].name == NULL)
                   abort();
   
           if (strcmp(msdos_options[i].name, "volume_id") == 0)
                   msdos_opt->volume_id_set = 1;
           else if (strcmp(msdos_options[i].name, "media_descriptor") == 0)
                   msdos_opt->media_descriptor_set = 1;
           else if (strcmp(msdos_options[i].name, "hidden_sectors") == 0)
                   msdos_opt->hidden_sectors_set = 1;
           return rv;
 }  }
   
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>