diff options
| author | John Polstra <jdp@FreeBSD.org> | 1998-11-01 06:35:36 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1998-11-01 06:35:36 +0000 |
| commit | 00bf1f30667b2a5b77c41e1fa2dfd29fadaca26a (patch) | |
| tree | 0ca2686b4f12fe8bc94bc740b478a56a62842abb /usr.bin/gcore/elfcore.c | |
| parent | eca7742c3c8f799f6ed1e5450df56786cf99cf66 (diff) | |
Notes
Diffstat (limited to 'usr.bin/gcore/elfcore.c')
| -rw-r--r-- | usr.bin/gcore/elfcore.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c index 10538418d877..af199ca8f705 100644 --- a/usr.bin/gcore/elfcore.c +++ b/usr.bin/gcore/elfcore.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: elfcore.c,v 1.1 1998/10/19 19:42:18 jdp Exp $ */ #include <sys/param.h> @@ -142,7 +142,8 @@ elf_coredump(int fd, pid_t pid) err(1, "read from %s", memname); if (ngot < nwant) errx(1, "short read from %s:" - " wanted %d, got %d\n", nwant, ngot); + " wanted %d, got %d\n", memname, + nwant, ngot); ngot = write(fd, buf, nwant); if (ngot == -1) err(1, "write of segment %d failed", i); |
