[libvirt] [PATCH 3/4] use monitor fd for domain shutdown
Daniel Veillard
veillard at redhat.com
Tue Jan 20 16:44:18 UTC 2009
On Tue, Jan 20, 2009 at 08:17:07AM +0100, Guido Günther wrote:
> + if (lseek(fd, pos, SEEK_SET) < 0) {
> + qemudReportError(conn, NULL, NULL, VIR_ERR_INTERNAL_ERROR,
> + _("Unable to seek to %lld in %s: %s"),
> + pos, logfile, strerror(errno));
I just had to fix this, this raised a warning about the %lld use to
display pos, so I casted to (long long), I assume it's an architecture
specific problem (32 vs. 64 bits),
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list