Merge branch 'master_fix-partition-copy' of https://github.com/vojtechtrefny/util-linux

This commit is contained in:
Karel Zak 2019-07-22 11:35:12 +02:00
commit 68cf159b07
1 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,10 @@ static struct fdisk_partition *__copy_partition(struct fdisk_partition *o)
n->fsuuid = strdup(o->fsuuid);
if (o->fslabel)
n->fslabel = strdup(o->fslabel);
if (o->start_chs)
n->start_chs = strdup(o->start_chs);
if (o->end_chs)
n->end_chs = strdup(o->end_chs);
return n;
}