提交 dc2d82a2 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
上级 8feeee9e
...@@ -683,7 +683,7 @@ cmdAttachDisk(vshControl *ctl, const vshCmd *cmd) ...@@ -683,7 +683,7 @@ cmdAttachDisk(vshControl *ctl, const vshCmd *cmd)
virBufferAsprintf(&buf, "<serial>%s</serial>\n", serial); virBufferAsprintf(&buf, "<serial>%s</serial>\n", serial);
if (alias) if (alias)
virBufferAsprintf(&buf, "<alias name='%s'/>", alias); virBufferAsprintf(&buf, "<alias name='%s'/>\n", alias);
if (wwn) if (wwn)
virBufferAsprintf(&buf, "<wwn>%s</wwn>\n", wwn); virBufferAsprintf(&buf, "<wwn>%s</wwn>\n", wwn);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册