From a1b0344db518c64f8d6a951bde9be5b90353b7a5 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Fri, 26 May 2017 16:49:33 +0900 Subject: [PATCH] Use the words "cannot read" rather than "cannot open" as the code actually tests readability. --- libxrdp/xrdp_rdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c index 75b8768c..ea3f446e 100644 --- a/libxrdp/xrdp_rdp.c +++ b/libxrdp/xrdp_rdp.c @@ -272,7 +272,7 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info) if (!g_file_readable(client_info->certificate)) { - log_message(LOG_LEVEL_ERROR, "Cannot open certificate file %s: %s", + log_message(LOG_LEVEL_ERROR, "Cannot read certificate file %s: %s", client_info->certificate, g_get_strerror()); } } @@ -302,7 +302,7 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info) if (!g_file_readable(client_info->key_file)) { - log_message(LOG_LEVEL_ERROR, "Cannot open private key file %s: %s", + log_message(LOG_LEVEL_ERROR, "Cannot read private key file %s: %s", client_info->key_file, g_get_strerror()); } }