diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c
index f6d7692a3c..f37a48c404 100644
--- a/src/conf/node_device_conf.c
+++ b/src/conf/node_device_conf.c
@@ -678,7 +678,7 @@ char *virNodeDeviceDefFormat(const virNodeDeviceDef *def)
data->storage.num_blocks);
}
if (data->storage.flags & VIR_NODE_DEV_CAP_STORAGE_HOTPLUGGABLE)
- virBufferAddLit(&buf, "\n");
+ virBufferAddLit(&buf, "\n");
break;
case VIR_NODE_DEV_CAP_SCSI_GENERIC:
virBufferEscapeString(&buf, "%s\n",