[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 01 of 10 v2] 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@xxxxxxxxxx> 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)))) /* _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |