direct-io.hg

changeset 12794:3859131c0b8b

Fix PERROR.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Dec 07 17:48:35 2006 +0000 (2006-12-07)
parents 6a6748da2039
children 1bcb97a1b2da
files tools/libxc/xc_private.h
line diff
     1.1 --- a/tools/libxc/xc_private.h	Thu Dec 07 17:47:43 2006 +0000
     1.2 +++ b/tools/libxc/xc_private.h	Thu Dec 07 17:48:35 2006 +0000
     1.3 @@ -63,7 +63,7 @@ void xc_set_error(int code, const char *
     1.4  
     1.5  #define ERROR(_m, _a...)  xc_set_error(XC_INTERNAL_ERROR, _m , ## _a )
     1.6  #define PERROR(_m, _a...) xc_set_error(XC_INTERNAL_ERROR, _m " (%d = %s)", \
     1.7 -                                       _m , ## _a , errno, strerror(errno))
     1.8 +                                       ## _a , errno, strerror(errno))
     1.9  
    1.10  int lock_pages(void *addr, size_t len);
    1.11  void unlock_pages(void *addr, size_t len);