From 823cad60083f3763afea0b12d6a92bd53fccd884 Mon Sep 17 00:00:00 2001 From: Kim Gibyoung Date: Tue, 7 May 2013 22:47:03 +0900 Subject: [PATCH] printf removed Change-Id: I29037623a091c636bbe55fd1f1b807dc4561c26a --- popup-wifidirect/src/wfd-app-client.c | 4 ++-- popup-wifidirect/src/wfd-app-util.c | 2 +- ugapp-wifidirect/src/wfd-ugapp-util.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/popup-wifidirect/src/wfd-app-client.c b/popup-wifidirect/src/wfd-app-client.c index cc088f2..cc42794 100755 --- a/popup-wifidirect/src/wfd-app-client.c +++ b/popup-wifidirect/src/wfd-app-client.c @@ -606,7 +606,7 @@ void _cb_connection(int error_code, wifi_direct_connection_state_e connection_st if (auto_connection_mode == TRUE) { result = wifi_direct_accept_connection(ad->peer_mac); - printf("wifi_direct_accept_connection() result=[%d]\n", result); + WDPOP_LOGD("wifi_direct_accept_connection() result=[%d]\n", result); } else { if (wps_mode == WIFI_DIRECT_WPS_TYPE_PBC) { WDPOP_LOGD( "wps_config is WIFI_DIRECT_WPS_TYPE_PBC\n"); @@ -666,7 +666,7 @@ void _cb_connection(int error_code, wifi_direct_connection_state_e connection_st wifi_direct_is_autoconnection_mode(&auto_connection_mode); if (auto_connection_mode == TRUE) { result = wifi_direct_connect(ad->peer_mac); - printf("wifi_direct_accept_connection() result=[%d]\n", result); + WDPOP_LOGD("wifi_direct_accept_connection() result=[%d]\n", result); } else { wfd_prepare_popup(WFD_POP_APRV_CONNECTION_INVITATION_REQ, NULL); } diff --git a/popup-wifidirect/src/wfd-app-util.c b/popup-wifidirect/src/wfd-app-util.c index 4e77cc2..7231757 100644 --- a/popup-wifidirect/src/wfd-app-util.c +++ b/popup-wifidirect/src/wfd-app-util.c @@ -67,7 +67,7 @@ int wfd_app_gettid() #ifdef __NR_gettid return syscall(__NR_gettid); #else - fprintf(stderr, "__NR_gettid is not defined, please include linux/unistd.h "); + WDPOP_LOGE("__NR_gettid is not defined, please include linux/unistd.h "); return -1; #endif } diff --git a/ugapp-wifidirect/src/wfd-ugapp-util.c b/ugapp-wifidirect/src/wfd-ugapp-util.c index 2009c3c..73c42aa 100644 --- a/ugapp-wifidirect/src/wfd-ugapp-util.c +++ b/ugapp-wifidirect/src/wfd-ugapp-util.c @@ -67,7 +67,7 @@ int wfd_app_gettid() #ifdef __NR_gettid return syscall(__NR_gettid); #else - fprintf(stderr, "__NR_gettid is not defined, please include linux/unistd.h "); + WDUA_LOGE("__NR_gettid is not defined, please include linux/unistd.h "); return -1; #endif } -- 2.7.4