summaryrefslogtreecommitdiffstats
path: root/common/os_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/os_calls.c')
-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;
}
}