diff options
author | Pixel <Pixel> | 2001-10-29 17:12:20 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-10-29 17:12:20 +0000 |
commit | e5057005049b11af44cb804118f95370f03ab32c (patch) | |
tree | 3bba56312c3791f5046f37ee4411945d268760b7 /lib/Exceptions.cc | |
parent | a259ec553a1d685ebb976ec34eaaf700d24ee0c4 (diff) |
Going out, commiting...
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); } |