summaryrefslogtreecommitdiff
path: root/lib/Output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Output.cc')
-rw-r--r--lib/Output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Output.cc b/lib/Output.cc
index 9e7437f..3f755ef 100644
--- a/lib/Output.cc
+++ b/lib/Output.cc
@@ -14,7 +14,7 @@ Output::Output(String no, int trunc = 1) throw (GeneralException) :
Handle(no.strlen() ? open(no.to_charp(), O_WRONLY | O_CREAT | (trunc ? O_TRUNC : O_APPEND)) : 1),
n(no) {
if (GetHandle() < 0) {
- throw IOGeneral(String("Error opening file") + no + " for writing: " + strerror(errno));
+ throw IOGeneral(String(_("Error opening file")) + no + _(" for writing: ") + strerror(errno));
}
}