virsh: Put a new line char after <alias/> in attach-disk

Each attribute is on its own line. We forgot to add new line
character for <alias/>

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2019-04-26 14:07:47 +02:00
parent 8feeee9ee2
commit dc2d82a2b6
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ cmdAttachDisk(vshControl *ctl, const vshCmd *cmd)
virBufferAsprintf(&buf, "<serial>%s</serial>\n", serial);
if (alias)
virBufferAsprintf(&buf, "<alias name='%s'/>", alias);
virBufferAsprintf(&buf, "<alias name='%s'/>\n", alias);
if (wwn)
virBufferAsprintf(&buf, "<wwn>%s</wwn>\n", wwn);