gpt-auto-generator: fix typo

This commit is contained in:
Lukas Nykryn
2014-09-16 13:50:11 +02:00
parent 85639427b3
commit 821b2e7921
Notes: Lennart Poettering 2014-10-24 18:20:45 +02:00
Backport: bugfix

View File

@@ -124,7 +124,7 @@ static int add_cryptsetup(const char *id, const char *what, bool rw, char **devi
return log_oom();
p = strjoin(arg_dest, "/", n, NULL);
if (!n)
if (!p)
return log_oom();
f = fopen(p, "wxe");