From: Daniel Veillard Date: Sat, 4 Mar 2006 09:00:15 +0000 (+0000) Subject: * src/xml.c: another patch from David Lutterkort fixing a typo X-Git-Tag: LIBVIRT_0_1_0~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0742c9313e5a6ef917a9aa2546b9aad28eea8682;p=thirdparty%2Flibvirt.git * src/xml.c: another patch from David Lutterkort fixing a typo when generating physical block devices descriptions. Daniel --- 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')");