diff options
Diffstat (limited to 'lib/Exceptions.cc')
-rw-r--r-- | lib/Exceptions.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Exceptions.cc b/lib/Exceptions.cc index 3989836..eed138a 100644 --- a/lib/Exceptions.cc +++ b/lib/Exceptions.cc @@ -22,12 +22,12 @@ char * GeneralException::GetMsg() { } MemoryException::MemoryException(ssize_t s) { - sprintf(t, _("Failed allocating %lld bytes."), s); + sprintf(t, _("Failed allocating %ld bytes."), s); msg = strdup(t); } IOException::IOException(String fn, op_t op, ssize_t s) { - sprintf(t, _("An error has occured while %s %lld bytes from %s: %s"), op == IO_WRITE ? _("writing") : _("reading"), + sprintf(t, _("An error has occured while %s %ld bytes from %s: %s"), op == IO_WRITE ? _("writing") : _("reading"), s, fn.to_charp(), strerror(errno)); msg = strdup(t); } |