tree-wide: get rid of strappend()

It's a special case of strjoin(), so no need to keep both. In particular
as typing strjoin() is even shoert than strappend().
This commit is contained in:
Lennart Poettering
2019-07-12 14:31:12 +09:00
committed by Yu Watanabe
parent 6fa0524133
commit b910cc72c0
68 changed files with 115 additions and 146 deletions
+2 -2
View File
@@ -583,12 +583,12 @@ static int add_proc_cmdline_devices(void) {
continue;
if (!d->name) {
d->name = strappend("luks-", d->uuid);
d->name = strjoin("luks-", d->uuid);
if (!d->name)
return log_oom();
}
device = strappend("UUID=", d->uuid);
device = strjoin("UUID=", d->uuid);
if (!device)
return log_oom();