This patch adds log messages about errno value.
Change-Id: Ida32efcea628f86e0122dec19569b1c9dcb16a8e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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;
}