]> err.no Git - dpkg/commitdiff
Improve error message
authorWichert Akkerman <wakkerma@debian.org>
Wed, 12 Sep 2001 15:10:20 +0000 (15:10 +0000)
committerWichert Akkerman <wakkerma@debian.org>
Wed, 12 Sep 2001 15:10:20 +0000 (15:10 +0000)
lib/mlib.c

index 1e906f80558ad76535c8a34841ffff32709da0b4..b9193ecc36a53900f00114eaa87684c7692de728 100644 (file)
@@ -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;