summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-11-06 20:31:59 -0800
committerPavel Roskin <plroskin@gmail.com>2016-11-15 22:39:22 -0800
commit60029514a63a07bab78cbd557ccbece826d1f9a9 (patch)
treeee38c53f35320e3c7cb0af3532829f46f16abbd8 /sesman
parente8185caf319db95554f7f3a239e962ca96e24fd4 (diff)
downloadxrdp-proprietary-60029514a63a07bab78cbd557ccbece826d1f9a9.tar.gz
xrdp-proprietary-60029514a63a07bab78cbd557ccbece826d1f9a9.zip
Report system error if the VNC password file cannot be created
Diffstat (limited to 'sesman')
-rw-r--r--sesman/env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/env.c b/sesman/env.c
index 11c8e2bf..5ea4beb9 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -71,8 +71,8 @@ env_check_password_file(const char *filename, const char *passwd)
if (fd == -1)
{
log_message(LOG_LEVEL_WARNING,
- "can't write vnc password hash file - %s",
- filename);
+ "Cannot write VNC password hash to file %s: %s",
+ filename, g_get_strerror());
return 1;
}
g_file_write(fd, encryptedPasswd, 8);