]> xenbits.xensource.com Git - libvirt.git/commitdiff
* src/xml.c: another patch from David Lutterkort fixing a typo
authorDaniel Veillard <veillard@redhat.com>
Sat, 4 Mar 2006 09:00:15 +0000 (09:00 +0000)
committerDaniel Veillard <veillard@redhat.com>
Sat, 4 Mar 2006 09:00:15 +0000 (09:00 +0000)
  when generating physical block devices descriptions.
Daniel

ChangeLog
src/xml.c

index f197cd5f5fa59ea0f3c71ca0290262640a62e49f..369fa3f1540d6be7da319db9910852862911ae97 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Mar  4 09:59:13 CET 2006 Daniel Veillard <veillard@redhat.com>
+
+       * 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 <veillard@redhat.com>
 
        * libvirt.spec.in: applied patch from David Lutterkort adding
index 2e7b2da1c45548286e3a8d447a0fead047c9c3a2..e4577b8330e6e6564be996554bab2887a3af1d55 100644 (file)
--- 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')");