diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-20 04:22:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-20 04:22:41 +0000 |
commit | 5e46d7af1a68e8cc868e7c1dc4b2c8bfd7b6908c (patch) | |
tree | bc70d9b188fbf4990aa1a19117ffb8b06551858d | |
parent | a38959cfc0705c94ce9d93c2393c3486f94692f0 (diff) |
dump one NOT TWO headers; from osymh@gemini.oscs.montana.edu
-rw-r--r-- | sbin/savecore/savecore.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index 07f6915bd1e..afd8590b692 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -1,4 +1,4 @@ -/* $OpenBSD: savecore.c,v 1.5 1996/06/23 13:16:21 deraadt Exp $ */ +/* $OpenBSD: savecore.c,v 1.6 1996/08/20 04:22:40 deraadt Exp $ */ /* $NetBSD: savecore.c,v 1.26 1996/03/18 21:16:05 leo Exp $ */ /*- @@ -414,12 +414,6 @@ err1: syslog(LOG_WARNING, "%s: %s", path, strerror(errno)); exit(1); } - if (kvm_dump_wrtheader(kd_dump, fp, dumpsize) == -1) { - syslog(LOG_ERR, "kvm_dump_wrtheader: %s : %s", path, - kvm_geterr(kd_dump)); - exit(1); - } - /* Copy the core file. */ syslog(LOG_NOTICE, "writing %score to %s", compress ? "compressed " : "", path); |