chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: rework strappenda(), and rename it strjoina()
[elogind.git]
/
src
/
gpt-auto-generator
/
gpt-auto-generator.c
diff --git
a/src/gpt-auto-generator/gpt-auto-generator.c
b/src/gpt-auto-generator/gpt-auto-generator.c
index 909fdda60a15f418b2f2a9a7857bcfe67712a4d9..5c58b58f8a35c3144ba7d59234b48efcb6df7407 100644
(file)
--- a/
src/gpt-auto-generator/gpt-auto-generator.c
+++ b/
src/gpt-auto-generator/gpt-auto-generator.c
@@
-147,7
+147,7
@@
static int add_cryptsetup(const char *id, const char *what, bool rw, char **devi
if (ferror(f))
return log_error_errno(errno, "Failed to write file %s: %m", p);
- from = str
append
a("../", n);
+ from = str
join
a("../", n);
to = strjoin(arg_dest, "/", d, ".wants/", n, NULL);
if (!to)