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

Re: [libvirt] [PATCH] qemudOpenMonitor: fix open(2) error check



On Thu, Jul 24, 2008 at 03:48:47PM -0400, Guido Günther wrote:
> Hi,
> open returns -1 on failure. Pointed out by Guido Trotter on:
> 
> http://bugs.debian.org/492250
> 
> Patch against current CVS attached.

  Hum, good catch, I checked for other occurences of this mistake but
everywhere else we use < 0 or == -1 to detect the failure.

  Applied and commited,

   thanks !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/


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