Dario Faggioli
2012-Jun-13 09:20 UTC
[PATCH] libxl: fix a typo in the GCREALLOC_ARRAY macro
Causing a build failure when trying to use it: xxx: error: expected '';'' before '')'' token xxx: error: expected statement before '')'' token Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com> diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -1972,7 +1972,7 @@ struct libxl__domain_create_state { #define GCREALLOC_ARRAY(var, nmemb) \ (assert(nmemb > 0), \ assert(ARRAY_SIZE_OK((var), (nmemb))), \ - (var) = libxl__realloc((gc), (var), (nmemb)*sizeof(*(var))))) + (var) = libxl__realloc((gc), (var), (nmemb)*sizeof(*(var)))) /*