summaryrefslogtreecommitdiffstats
path: root/core/modules/run-virt/winres
diff options
context:
space:
mode:
authorSimon Rettberg2019-11-08 11:30:22 +0100
committerSimon Rettberg2019-11-08 11:30:22 +0100
commit754755103a61f7349ac9044c239babc545b32345 (patch)
treea77bc1f667f1a43baffbae94ccc9287f8a95b340 /core/modules/run-virt/winres
parent[pam-slx-plug] Improve logging, fix waiting for slxlog (diff)
downloadmltk-754755103a61f7349ac9044c239babc545b32345.tar.gz
mltk-754755103a61f7349ac9044c239babc545b32345.tar.xz
mltk-754755103a61f7349ac9044c239babc545b32345.zip
[run-virt] openslx.exe: Log UNC path on mount failure
Diffstat (limited to 'core/modules/run-virt/winres')
-rw-r--r--core/modules/run-virt/winres/src/winres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/run-virt/winres/src/winres.c b/core/modules/run-virt/winres/src/winres.c
index f9d8dbfc..d358e1d5 100644
--- a/core/modules/run-virt/winres/src/winres.c
+++ b/core/modules/run-virt/winres/src/winres.c
@@ -1054,7 +1054,7 @@ static BOOL mountNetworkShare(const netdrive_t *d, BOOL useIp)
}
if (retval != ERROR_ALREADY_ASSIGNED && retval != ERROR_DEVICE_ALREADY_REMEMBERED
&& retval != ERROR_CONNECTION_UNAVAIL) {
- alog("mountNetworkShare: with letter failed: %d", (int)retval);
+ alog("mountNetworkShare: '%s' with letter failed: %d", uncPath, (int)retval);
return FALSE;
}
}
@@ -1071,7 +1071,7 @@ static BOOL mountNetworkShare(const netdrive_t *d, BOOL useIp)
postSuccessfulMount(d, letter);
return TRUE;
}
- alog("mountNetworkShare: without letter failed: %d", (int)retval);
+ alog("mountNetworkShare: '%s' without letter failed: %d", uncPath, (int)retval);
if (retval == ERROR_INVALID_PASSWORD || retval == ERROR_LOGON_FAILURE
|| retval == ERROR_BAD_USERNAME || retval == ERROR_ACCESS_DENIED
|| retval == ERROR_SESSION_CREDENTIAL_CONFLICT) {