summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-07-12 15:38:33 +0900
committermetalefty <meta@vmeta.jp>2017-07-13 13:41:26 +0900
commit8d5010a20270f581b774c97dd2186a5814740cf0 (patch)
tree35377ee4306e68a2a0025c5451d8850ef603c9e0 /common
parentb6bd8acef19763b1116bb4c881b46b0359c84f90 (diff)
downloadxrdp-proprietary-8d5010a20270f581b774c97dd2186a5814740cf0.tar.gz
xrdp-proprietary-8d5010a20270f581b774c97dd2186a5814740cf0.zip
common: use log_message
Diffstat (limited to 'common')
-rw-r--r--common/os_calls.c5
1 files 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;
}
}