libxl: fix a typo in the GCREALLOC_ARRAY macro
PATCH 1/1 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 <[email protected]>
tools/libxl/libxl_internal.h +1 -1
@@ -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))))/*