common: use log_message

master
Koichiro IWAO 7 years ago committed by metalefty
parent b6bd8acef1
commit 8d5010a202

@ -118,8 +118,9 @@ g_mk_temp_dir(const char *app_name)
/* if failed, still check if it got created by someone else */ /* if failed, still check if it got created by someone else */
if (!g_directory_exist(XRDP_SOCKET_PATH)) if (!g_directory_exist(XRDP_SOCKET_PATH))
{ {
printf("g_mk_temp_dir: g_create_dir(%s) failed\n", log_message(LOG_LEVEL_ERROR,
XRDP_SOCKET_PATH); "g_mk_temp_dir: g_create_dir(%s) failed",
XRDP_SOCKET_PATH);
return 1; return 1;
} }
} }

Loading…
Cancel
Save