From 0742c9313e5a6ef917a9aa2546b9aad28eea8682 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Sat, 4 Mar 2006 09:00:15 +0000 Subject: [PATCH] * src/xml.c: another patch from David Lutterkort fixing a typo when generating physical block devices descriptions. Daniel --- ChangeLog | 5 +++++ src/xml.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f197cd5f5f..369fa3f154 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Mar 4 09:59:13 CET 2006 Daniel Veillard + + * src/xml.c: another patch from David Lutterkort fixing a typo + when generating physical block devices descriptions. + Sat Mar 4 09:56:18 CET 2006 Daniel Veillard * libvirt.spec.in: applied patch from David Lutterkort adding diff --git a/src/xml.c b/src/xml.c index 2e7b2da1c4..e4577b8330 100644 --- a/src/xml.c +++ b/src/xml.c @@ -656,9 +656,9 @@ virDomainParseXMLDiskDesc(xmlNodePtr node, virBufferPtr buf) { virBufferVSprintf(buf, "(uname 'file:%s')", source); else if (typ == 1) { if (source[0] == '/') - virBufferVSprintf(buf, "(uname 'phys:%s')", source); + virBufferVSprintf(buf, "(uname 'phy:%s')", source); else - virBufferVSprintf(buf, "(uname 'phys:/dev/%s')", source); + virBufferVSprintf(buf, "(uname 'phy:/dev/%s')", source); } if (ro == 0) virBufferVSprintf(buf, "(mode 'w')");