[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] libxl: fix declaration of libxl_primary_console_exec_0x040700



Add missing "int".

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 tools/libxl/libxl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
index 030aad5..ae21302 100644
--- a/tools/libxl/libxl.h
+++ b/tools/libxl/libxl.h
@@ -1476,8 +1476,8 @@ static inline int libxl_console_exec_0x040700(libxl_ctx 
*ctx,
 }
 #define libxl_console_exec libxl_console_exec_0x040700
 
-static inline libxl_primary_console_exec_0x040700(libxl_ctx *ctx,
-                                                  uint32_t domid_vm)
+static inline int libxl_primary_console_exec_0x040700(libxl_ctx *ctx,
+                                                      uint32_t domid_vm)
 {
     return libxl_primary_console_exec(ctx, domid_vm, -1);
 }
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.