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

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

 



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@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]