From: Wichert Akkerman Date: Wed, 12 Sep 2001 15:10:20 +0000 (+0000) Subject: Improve error message X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7ce386bd08a63180101e465730612130ff7aa8d;p=dpkg Improve error message --- diff --git a/lib/mlib.c b/lib/mlib.c index 1e906f80..b9193ecc 100644 --- a/lib/mlib.c +++ b/lib/mlib.c @@ -196,7 +196,7 @@ ssize_t buffer_write(buffer_data_t data, void *buf, ssize_t length, const char * break; case BUFFER_WRITE_FD: if((ret= write(data->data.i, buf, length)) < 0 && errno != EINTR) - ohshite(_("failed in buffer_write(fd) (%i, ret=%zi %s)"), data->data.i, ret, desc); + ohshite(_("failed in buffer_write(fd) (%i, ret=%zi %s): %s"), data->data.i, ret, desc); break; case BUFFER_WRITE_NULL: break;