[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.4.4.1 and 1.4.4.2

version 1.4.4.1, 2008/01/09 01:38:06 version 1.4.4.2, 2008/03/23 00:44:24
Line 31 
Line 31 
 __FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");  __FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
 #endif  #endif
 #ifdef __RCSID  #ifdef __RCSID
 __RCSID("$NetBSD$");  __RCSID("gpt.c,v 1.4.4.1 2008/01/09 01:38:06 matt Exp");
 #endif  #endif
   
 #include <sys/param.h>  #include <sys/param.h>
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.4.4.1  
changed lines
  Added in v.1.4.4.2

CVSweb <webmaster@jp.NetBSD.org>