mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
resolved: align last rr column
This commit is contained in:
parent
1d749d044b
commit
23432a1c24
@ -180,8 +180,7 @@ int dns_resource_key_to_string(const DnsResourceKey *key, char **ret) {
|
||||
t = tbuf;
|
||||
}
|
||||
|
||||
s = strjoin(DNS_RESOURCE_KEY_NAME(key), " ", c, " ", t, NULL);
|
||||
if (!s)
|
||||
if (asprintf(&s, "%s %s %-5s", DNS_RESOURCE_KEY_NAME(key), c, t) < 0)
|
||||
return -ENOMEM;
|
||||
|
||||
*ret = s;
|
||||
|
Loading…
Reference in New Issue
Block a user