]> git.proxmox.com Git - qemu.git/blobdiff - block-migration.c
slirp: Replace m_freem with m_free
[qemu.git] / block-migration.c
index 8d06a23649991ff21e6917bb0f9b949f87eecbc2..0936c7d5ea347de19d37afe4ae7d9956381bc6d7 100644 (file)
@@ -671,7 +671,7 @@ static int block_load(QEMUFile *f, void *opaque, int version_id)
                 bs_prev = bs;
                 total_sectors = bdrv_getlength(bs) >> BDRV_SECTOR_BITS;
                 if (total_sectors <= 0) {
-                    error_report("Error getting length of block device %s\n",
+                    error_report("Error getting length of block device %s",
                                  device_name);
                     return -EINVAL;
                 }