From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCH] libxl: fix a typo in the GCREALLOC_ARRAY macro Date: Wed, 13 Jun 2012 11:20:10 +0200 Message-ID: <9bc16d50da5ef3515526.1339579210@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 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)))) /*