diff options
author | Koichiro IWAO <meta@vmeta.jp> | 2017-07-12 15:38:33 +0900 |
---|---|---|
committer | metalefty <meta@vmeta.jp> | 2017-07-13 13:41:26 +0900 |
commit | 8d5010a20270f581b774c97dd2186a5814740cf0 (patch) | |
tree | 35377ee4306e68a2a0025c5451d8850ef603c9e0 /common | |
parent | b6bd8acef19763b1116bb4c881b46b0359c84f90 (diff) | |
download | xrdp-proprietary-8d5010a20270f581b774c97dd2186a5814740cf0.tar.gz xrdp-proprietary-8d5010a20270f581b774c97dd2186a5814740cf0.zip |
common: use log_message
Diffstat (limited to 'common')
-rw-r--r-- | common/os_calls.c | 5 |
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; } } |