summaryrefslogtreecommitdiff
path: root/shared/shadow.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:43 +0200
commit4226e548662339ea1ca37b45385a7cf9b237ff1e (patch)
tree9a3fa54b85d97f05164e41bdb96b82f748a37342 /shared/shadow.cpp
parent3.7 (diff)
downloadFreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.gz
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.tar.bz2
FreeFileSync-4226e548662339ea1ca37b45385a7cf9b237ff1e.zip
3.8
Diffstat (limited to 'shared/shadow.cpp')
-rw-r--r--shared/shadow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/shadow.cpp b/shared/shadow.cpp
index 81f19d20..3909c37b 100644
--- a/shared/shadow.cpp
+++ b/shared/shadow.cpp
@@ -102,7 +102,7 @@ ShadowCopy::~ShadowCopy()
Zstring ShadowCopy::makeShadowCopy(const Zstring& inputFile)
{
- using namespace Shadow;
+ using namespace Shadow;
static const CreateShadowCopyFct createShadowCopy =
Utility::loadDllFunction<CreateShadowCopyFct>(getShadowDllName().c_str(), createShadowCopyFctName);
@@ -175,7 +175,7 @@ Zstring ShadowCopy::makeShadowCopy(const Zstring& inputFile)
wxString errorMsg = _("Error copying locked file %x!");
errorMsg.Replace(wxT("%x"), Zstring(wxT("\"")) + inputFile + wxT("\""));
throw FileError(errorMsg + wxT("\n\n") + _("Error starting Volume Shadow Copy Service!") + wxT("\n") +
- wxT("(") + errorMessage + wxT(")"));
+ wxT("(") + errorMessage + wxT(" Volume: \"") + volumeNameFormatted.c_str() + wxT("\")"));
}
realVolumeLast = volumeNameFormatted;
bgstack15