summaryrefslogtreecommitdiff
path: root/lib/Exceptions.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-10-29 17:12:20 +0000
committerPixel <Pixel>2001-10-29 17:12:20 +0000
commite5057005049b11af44cb804118f95370f03ab32c (patch)
tree3bba56312c3791f5046f37ee4411945d268760b7 /lib/Exceptions.cc
parenta259ec553a1d685ebb976ec34eaaf700d24ee0c4 (diff)
Going out, commiting...
Diffstat (limited to 'lib/Exceptions.cc')
-rw-r--r--lib/Exceptions.cc4
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);
}