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

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

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

version 1.7, 2007/12/28 19:53:10 version 1.8, 2008/02/24 18:38:10
Line 280  parse_uuid(const char *s, uuid_t *uuid)
Line 280  parse_uuid(const char *s, uuid_t *uuid)
                 return (0);                  return (0);
   
         switch (*s) {          switch (*s) {
           case 'b':
                   if (strcmp(s, "bios") == 0) {
                           uuid_t bios = GPT_ENT_TYPE_BIOS;
                           *uuid = bios;
                           return (0);
                   }
                   break;
         case 'c':          case 'c':
                 if (strcmp(s, "ccd") == 0) {                  if (strcmp(s, "ccd") == 0) {
                         uuid_t ccd = GPT_ENT_TYPE_NETBSD_CCD;                          uuid_t ccd = GPT_ENT_TYPE_NETBSD_CCD;

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

CVSweb <webmaster@jp.NetBSD.org>