Fix log message about buxton error handling 45/132545/1
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 6 Jun 2017 23:17:08 +0000 (08:17 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 6 Jun 2017 23:18:14 +0000 (08:18 +0900)
This patch adds log messages about errno value.

Change-Id: Ida32efcea628f86e0122dec19569b1c9dcb16a8e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad_lib.c

index da0a357..748f6af 100644 (file)
@@ -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;
        }