]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuMigrationPrecreateStorage: Fix debug message
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 2 Apr 2015 14:34:01 +0000 (16:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Apr 2015 09:40:57 +0000 (11:40 +0200)
When pre-creating storage for domains, we need to find corresponding
disk in the XML on the destination (domain XML may differ there, e.g.
disk is accessible under different path). For better debugging, I'm
printing all info I received on a disk. But there was a typo when
printing the disk capacity: "%lluu" instead of "%llu".

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c

index b597c80ee252aa51aab3c388190aa8c4ed5d4217..6852f79e6d7b3743f72edad13af2ef076d059cdd 100644 (file)
@@ -1581,7 +1581,7 @@ qemuMigrationPrecreateStorage(virConnectPtr conn,
         int indx;
         const char *diskSrcPath;
 
-        VIR_DEBUG("Looking up disk target '%s' (capacity=%lluu)",
+        VIR_DEBUG("Looking up disk target '%s' (capacity=%llu)",
                   nbd->disks[i].target, nbd->disks[i].capacity);
 
         if ((indx = virDomainDiskIndexByName(vm->def,