diff options
author | 2008-12-30 05:33:15 +0000 | |
---|---|---|
committer | 2008-12-30 05:33:15 +0000 | |
commit | cd74b475e85da3ea6003c2a59a0348cb0dbf6c02 (patch) | |
tree | ff1200e715d4a2b59ef490612b341cf4e7bc2428 | |
parent | Add domain state related PROM calls. (diff) | |
download | wireguard-openbsd-cd74b475e85da3ea6003c2a59a0348cb0dbf6c02.tar.xz wireguard-openbsd-cd74b475e85da3ea6003c2a59a0348cb0dbf6c02.zip |
savecore(8) wants dumpmag to be an unsigned long.
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/luna88k/luna88k/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/sgi/sgi/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/sh/sh/sh_machdep.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index ca00b33cfdc..9eb19661643 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.85 2008/11/22 18:12:32 art Exp $ */ +/* $OpenBSD: machdep.c,v 1.86 2008/12/30 05:33:15 miod Exp $ */ /* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */ /*- @@ -822,7 +822,7 @@ haltsys: /* * These variables are needed by /sbin/savecore */ -u_int32_t dumpmag = 0x8fca0101; /* magic number */ +u_long dumpmag = 0x8fca0101; /* magic number */ int dumpsize = 0; /* pages */ long dumplo = 0; /* blocks */ diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c index 68603183cf6..ba22da815a9 100644 --- a/sys/arch/luna88k/luna88k/machdep.c +++ b/sys/arch/luna88k/luna88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.58 2008/06/27 17:22:14 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.59 2008/12/30 05:33:17 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -599,7 +599,7 @@ haltsys: /*NOTREACHED*/ } -unsigned dumpmag = 0x8fca0101; /* magic number for savecore */ +u_long dumpmag = 0x8fca0101; /* magic number for savecore */ int dumpsize = 0; /* also for savecore */ long dumplo = 0; cpu_kcore_hdr_t cpu_kcore_hdr; diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c index a0c11ddab46..cdcf9d89c21 100644 --- a/sys/arch/sgi/sgi/machdep.c +++ b/sys/arch/sgi/sgi/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.60 2008/05/18 07:36:10 jsing Exp $ */ +/* $OpenBSD: machdep.c,v 1.61 2008/12/30 05:33:17 miod Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -852,7 +852,7 @@ haltsys: /*NOTREACHED*/ } -int dumpmag = (int)0x8fca0101; /* Magic number for savecore. */ +u_long dumpmag = 0x8fca0101; /* Magic number for savecore. */ int dumpsize = 0; /* Also for savecore. */ long dumplo = 0; diff --git a/sys/arch/sh/sh/sh_machdep.c b/sys/arch/sh/sh/sh_machdep.c index 4f3079ee3f0..2e0047fb45e 100644 --- a/sys/arch/sh/sh/sh_machdep.c +++ b/sys/arch/sh/sh/sh_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sh_machdep.c,v 1.21 2008/08/24 03:13:12 jsg Exp $ */ +/* $OpenBSD: sh_machdep.c,v 1.22 2008/12/30 05:33:17 miod Exp $ */ /* $NetBSD: sh3_machdep.c,v 1.59 2006/03/04 01:13:36 uwe Exp $ */ /* @@ -153,7 +153,7 @@ caddr_t allocsys(caddr_t); /* * These variables are needed by /sbin/savecore */ -u_int32_t dumpmag = 0x8fca0101; /* magic number */ +u_long dumpmag = 0x8fca0101; /* magic number */ u_int dumpsize; /* pages */ long dumplo; /* blocks */ cpu_kcore_hdr_t cpu_kcore_hdr; |