[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OPW 2/7] libxl: replace last invocation of LIBXL__LOG_ERROR with LOGE
Code cleanup -- no functional changes One invocation of the macro LIBXL__LOG_ERROR remains in libxl_qmp.c. It is in a function, register_serials_chardev_callback(), that does not have a local libxl__gc gc* in the original code. Since one was added in a previous patch, change this last invocation to an invocation of LOGE. Note: This patch depends on the patch "change remaining LIBXL_LOG to LOG in libxl_qmp.c", which was submitted at 04:05, November 10, 2013. Suggested-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Signed-off-by: Kelley Nielsen <kelleynnn@xxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/libxl/libxl_qmp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c index a181383..c6597d5 100644 --- a/tools/libxl/libxl_qmp.c +++ b/tools/libxl/libxl_qmp.c @@ -144,9 +144,8 @@ static int register_serials_chardev_callback(libxl__qmp_handler *qmp, } ret = store_serial_port_info(qmp, chardev, port_number); if (ret) { - LIBXL__LOG_ERRNO(qmp->ctx, LIBXL__LOG_ERROR, - "Failed to store serial port information" - " in xenstore"); + LOGE(ERROR, "Failed to store serial port information" + " in xenstore"); goto out; } } -- 1.8.1.2 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |