[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 3/4] use monitor fd for domain shutdown



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 veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]