diff options
author | Mathieu Chevrier <chevrier.mathieu@gmail.com> | 2015-03-13 00:33:44 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-13 00:36:02 -0400 |
commit | d736e4f3e76daca4ab1b1fc444737e5ee20a27cd (patch) | |
tree | 50abb734c02e66fd8980614b7cc81bab876cdd69 /src/gpt-auto-generator | |
parent | 9c8ca3f7a69f82ca181b3cd2d5e1d3e621938abb (diff) |
gpt-auto-generator: fix detection of /srv
https://bugs.freedesktop.org/show_bug.cgi?id=89226
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(); } |