]> xenbits.xensource.com Git - libvirt.git/commit
avoid a probable EINVAL from lseek
authorJim Meyering <meyering@redhat.com>
Mon, 1 Feb 2010 21:17:44 +0000 (22:17 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 2 Feb 2010 09:35:52 +0000 (10:35 +0100)
commit9344e6ad1a8389728c81a375f6812c435e5ac71c
tree1ee0bc50125b4125af28db8e65c141fde3ab7d9d
parent33e25a3984e50d6f36d98d1941623ac3bed53bde
avoid a probable EINVAL from lseek

* src/qemu/qemu_driver.c (qemudLogReadFD): Don't pass a negative
offset (from a preceding failed attempt to seek to EOF) to this use
of lseek.
src/qemu/qemu_driver.c