summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/VBox/Main/src-all/VirtualBoxBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Main/src-all/VirtualBoxBase.cpp b/src/VBox/Main/src-all/VirtualBoxBase.cpp
index dc8d937f1dc..5d3d2085507 100644
--- a/src/VBox/Main/src-all/VirtualBoxBase.cpp
+++ b/src/VBox/Main/src-all/VirtualBoxBase.cpp
@@ -621,7 +621,7 @@ HRESULT VirtualBoxBase::setErrorVrc(int vrc)
return setErrorInternal(Global::vboxStatusCodeToCOM(vrc),
this->getClassIID(),
this->getComponentName(),
- Utf8Str("%Rrc", vrc),
+ Utf8StrFmt("%Rrc", vrc),
false /* aWarning */,
true /* aLogIt */,
vrc /* aResultDetail */);
@@ -669,7 +669,7 @@ HRESULT VirtualBoxBase::setErrorBoth(HRESULT hrc, int vrc)
return setErrorInternal(hrc,
this->getClassIID(),
this->getComponentName(),
- Utf8Str("%Rrc", vrc),
+ Utf8StrFmt("%Rrc", vrc),
false /* aWarning */,
true /* aLogIt */,
vrc /* aResultDetail */);