]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix a misuse of virAsprintf in qemudDomainMemoryPeek
authorRyota Ozaki <ozaki.ryota@gmail.com>
Fri, 14 May 2010 10:08:59 +0000 (19:08 +0900)
committerEric Blake <eblake@redhat.com>
Fri, 14 May 2010 16:45:58 +0000 (10:45 -0600)
commitd6644013d2c2afc4e1b00cb49ac11ce68d3aac51
tree0995c9abe6442c8cc17fc0cc482d03b192acc441
parentde4d70873acc9d7bdee72af1354786ade999da1d
Fix a misuse of virAsprintf in qemudDomainMemoryPeek

The code specifies driver->cacheDir as the format string,
but it usually doesn't contain '%s', so the subsequent
argument, "/qemu.mem.XXXXXX", is always ignored.

The patch fixes the misuse.
src/qemu/qemu_driver.c