From 59def0ee42ed1ea7aa0328a817725d57885e5ddc Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 7 Jun 2017 08:17:08 +0900 Subject: [PATCH] Fix log message about buxton error handling This patch adds log messages about errno value. Change-Id: Ida32efcea628f86e0122dec19569b1c9dcb16a8e Signed-off-by: Hwankyu Jhun --- src/launchpad_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/launchpad_lib.c b/src/launchpad_lib.c index da0a357..748f6af 100644 --- a/src/launchpad_lib.c +++ b/src/launchpad_lib.c @@ -77,12 +77,12 @@ static int __prepare_exec(const char *appid, const char *app_path, ret = buxton_open(&bxt_cli, NULL, NULL); if (ret != 0) { - _E("buxton_open() failed"); + _E("buxton_open() failed, errno(%d)", errno); return -1; } ret = buxton_update_client_label_sync(bxt_cli); if (ret != 0) { - _E("buxton_update_client_label() failed"); + _E("buxton_update_client_label() failed, errno(%d)", errno); buxton_close(bxt_cli); return -1; } -- 2.7.4