]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-gpt.c
sha1.h: remove ansidecl.h header inclusion
[thirdparty/mdadm.git] / super-gpt.c
index 9360aead2dbc4bc3ce555db3e183f0ef6575c4d6..fa7fdabea004092db104bc1f838f00a5f2b06be6 100644 (file)
@@ -175,7 +175,7 @@ static void getinfo_gpt(struct supertype *st, struct mdinfo *info, char *map)
 
 static struct supertype *match_metadata_desc(char *arg)
 {
-       struct supertype *st = malloc(sizeof(*st));
+       struct supertype *st = xmalloc(sizeof(*st));
 
        if (!st)
                return st;