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

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

Diff for /src/usr.sbin/sysinst/gpt.c between version 1.2 and 1.3

version 1.2, 2019/06/23 11:47:08 version 1.3, 2019/07/25 13:16:35
Line 394  gpt_create_new(const char *disk, daddr_t
Line 394  gpt_create_new(const char *disk, daddr_t
                 return NULL;                  return NULL;
         }          }
   
         parts = calloc(sizeof(*parts), 1);          parts = calloc(1, sizeof(*parts));
         if (!parts)          if (!parts)
                 return NULL;                  return NULL;
   

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

CVSweb <webmaster@jp.NetBSD.org>