| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [Patch v3] xl: Fix CHK_ERRNO()
 Andrew Cooper writes ("[Xen-devel] [Patch v3] xl: Fix CHK_ERRNO()"):
> The macro CHK_ERRNO() was being used to check two different error schemes, and
> succeeded at neither.
> 
> Split the macro into two; CHK_SYSCALL() for calls which return -1 and set
> errno on error, and CHK_ERRNOVAL() for calls which return an errno.
> 
> In both cases, ensure that strerror() now gets called with the error integer.
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |