diff options
Diffstat (limited to 'super-gpt.c')
-rw-r--r-- | super-gpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/super-gpt.c b/super-gpt.c index 9360aead..fa7fdabe 100644 --- a/super-gpt.c +++ b/super-gpt.c @@ -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; |