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:
committed by
Yu Watanabe
parent
6fa0524133
commit
b910cc72c0
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user