diff options
Diffstat (limited to 'src/gpt-auto-generator')
-rw-r--r-- | src/gpt-auto-generator/gpt-auto-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c index 07ee2cc793..580f9929bd 100644 --- a/src/gpt-auto-generator/gpt-auto-generator.c +++ b/src/gpt-auto-generator/gpt-auto-generator.c @@ -546,7 +546,7 @@ static int enumerate_partitions(dev_t devnum) { srv_rw = !(flags & GPT_FLAG_READ_ONLY), free(srv); - srv = strdup(node); + srv = strdup(subnode); if (!srv) return log_oom(); } |