aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_internal.h
diff options
context:
space:
mode:
authorDario Faggioli <raistlin@linux.it>2012-06-26 17:00:20 +0100
committerDario Faggioli <raistlin@linux.it>2012-06-26 17:00:20 +0100
commite57d79c9e2eabc1ed18dc25593bee21a509dbc62 (patch)
tree14603e5ff949f6336a81d0b7d3f60f6e81ec416e /tools/libxl/libxl_internal.h
parent7224e175fbe4efa1ddfddf75ed1de3da886b825f (diff)
downloadxen-e57d79c9e2eabc1ed18dc25593bee21a509dbc62.tar.gz
xen-e57d79c9e2eabc1ed18dc25593bee21a509dbc62.tar.bz2
xen-e57d79c9e2eabc1ed18dc25593bee21a509dbc62.zip
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> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/libxl/libxl_internal.h')
-rw-r--r--tools/libxl/libxl_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h
index fa4c08ff87..31390e35c6 100644
--- 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))))
/*