|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: fix a typo in the GCREALLOC_ARRAY macro
# HG changeset patch
# User Dario Faggioli <raistlin@xxxxxxxx>
# Date 1340726420 -3600
# Node ID c6c9d20963d7c5d8022a8cbe6bdaea359804f284
# Parent b91ef972029ddaa110af6463171715ab9070c9d8
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>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
diff -r b91ef972029d -r c6c9d20963d7 tools/libxl/libxl_internal.h
--- a/tools/libxl/libxl_internal.h Tue Jun 26 16:23:58 2012 +0100
+++ b/tools/libxl/libxl_internal.h Tue Jun 26 17:00:20 2012 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |