diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2003-11-15 20:25:18 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2003-11-15 20:25:18 +0000 |
commit | 64b9fc343e09e4f73310f4cced8d091180950a44 (patch) | |
tree | aa1c8d2062bda1d9c4d11d188a58bfe4c1966180 | |
parent | cddfeeb33d85290f5e4c02a26ff4353540464163 (diff) |
fix savecore on big endian 64 bit arches. OK millert@
-rw-r--r-- | sbin/savecore/savecore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index a0f58bcfff9..f3b414e9180 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -1,4 +1,4 @@ -/* $OpenBSD: savecore.c,v 1.36 2003/07/29 18:38:36 deraadt Exp $ */ +/* $OpenBSD: savecore.c,v 1.37 2003/11/15 20:25:17 marc Exp $ */ /* $NetBSD: savecore.c,v 1.26 1996/03/18 21:16:05 leo Exp $ */ /*- @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)savecore.c 8.3 (Berkeley) 1/2/94"; #else -static char rcsid[] = "$OpenBSD: savecore.c,v 1.36 2003/07/29 18:38:36 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: savecore.c,v 1.37 2003/11/15 20:25:17 marc Exp $"; #endif #endif /* not lint */ @@ -104,7 +104,7 @@ struct nlist dump_nl[] = { /* Name list for dumped system. */ /* Types match kernel declarations. */ long dumplo; /* where dump starts on dumpdev */ -int dumpmag; /* magic number in dump */ +u_long dumpmag; /* magic number in dump */ int dumpsize; /* amount of memory dumped */ char *kernel; |