From 90ae19cccfd8922abb06e2d046ab0b9dd1439adc Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 20 Jul 2007 10:44:24 +0000 Subject: [PATCH] * src/xen_internal.c: some error handling improvements from Saori Fukuta Daniel --- ChangeLog | 4 ++++ src/xen_internal.c | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a6a1a1d7e2..622c07e436 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jul 20 11:02:28 CEST 2007 Daniel Veillard + + * src/xen_internal.c: some error handling improvements from Saori Fukuta + Thu Jul 19 18:21:47 CEST 2007 Daniel Veillard * src/Makefile.am src/openvz_conf.c src/openvz_conf.h diff --git a/src/xen_internal.c b/src/xen_internal.c index 94c1dc2a75..7c1e1de54f 100644 --- a/src/xen_internal.c +++ b/src/xen_internal.c @@ -672,7 +672,7 @@ virXenError(virErrorNumber error, const char *info, int value) errmsg = __virErrorMsg(error, info); __virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR, - errmsg, info, NULL, value, 0, errmsg, info); + errmsg, info, NULL, value, 0, errmsg, info, value); } #ifndef PROXY @@ -702,10 +702,12 @@ virXenErrorFunc(virErrorNumber error, const char *func, const char *info, snprintf(fullinfo, 999, "%s: %s", func, info); fullinfo[999] = 0; __virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR, - errmsg, fullinfo, NULL, value, 0, errmsg, fullinfo); + errmsg, fullinfo, NULL, value, 0, errmsg, fullinfo, + value); } else { __virRaiseError(NULL, NULL, NULL, VIR_FROM_XEN, error, VIR_ERR_ERROR, - errmsg, info, NULL, value, 0, errmsg, info); + errmsg, info, NULL, value, 0, errmsg, info, + value); } } -- GitLab