diff options
author | 2003-11-15 20:25:17 +0000 | |
---|---|---|
committer | 2003-11-15 20:25:17 +0000 | |
commit | 9bd0c10ab145cc43847d8dc6b797c516061b0eb1 (patch) | |
tree | 3925468da595a6df55f5c43a38b2b10ea5d02836 | |
parent | recognize AMD Opteron, Athlon64 and Athlon64FX as 686-class CPU (diff) | |
download | wireguard-openbsd-9bd0c10ab145cc43847d8dc6b797c516061b0eb1.tar.xz wireguard-openbsd-9bd0c10ab145cc43847d8dc6b797c516061b0eb1.zip |
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; |