summaryrefslogtreecommitdiff
path: root/lib/Exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Exceptions.cc')
-rw-r--r--lib/Exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc
index 6e4ddbe..10b82a5 100644
--- a/lib/Exceptions.cc
+++ b/lib/Exceptions.cc
@@ -40,7 +40,7 @@ MemoryException::MemoryException(ssize_t s) {
}
IOException::IOException(String fn, op_t op, ssize_t s) {
- sprintf(t, _("An error has occured while %s %ld bytes from %s: %s"), op == IO_WRITE ? _("writing") : _("reading"),
+ sprintf(t, _("An error has occured while %s %ld bytes on %s: %s"), op == IO_WRITE ? _("writing") : _("reading"),
s, fn.to_charp(), strerror(errno));
msg = strdup(t);
}