From 8d5010a20270f581b774c97dd2186a5814740cf0 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Wed, 12 Jul 2017 15:38:33 +0900 Subject: common: use log_message --- common/os_calls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/os_calls.c b/common/os_calls.c index 59dccbb5..481fd570 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -118,8 +118,9 @@ g_mk_temp_dir(const char *app_name) /* if failed, still check if it got created by someone else */ if (!g_directory_exist(XRDP_SOCKET_PATH)) { - printf("g_mk_temp_dir: g_create_dir(%s) failed\n", - XRDP_SOCKET_PATH); + log_message(LOG_LEVEL_ERROR, + "g_mk_temp_dir: g_create_dir(%s) failed", + XRDP_SOCKET_PATH); return 1; } } -- cgit v1.2.1