diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index da57d96d1a3d0b48269956d74b41e4bcfd400e2d..82140feb576e6a2ca988c14726d5b36f95542193 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -683,7 +683,7 @@ cmdAttachDisk(vshControl *ctl, const vshCmd *cmd)
virBufferAsprintf(&buf, "%s\n", serial);
if (alias)
- virBufferAsprintf(&buf, "", alias);
+ virBufferAsprintf(&buf, "\n", alias);
if (wwn)
virBufferAsprintf(&buf, "%s\n", wwn);