diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-10 04:17:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-10 04:17:38 +0000 |
commit | 8f0c1aa9fd0ce5d319af8590f3da4e11d36119ac (patch) | |
tree | 623711690bbd522dd6a546a3a7a25db4ca835639 /sys/arch/sgi/stand | |
parent | 11a564e909360219908f5872d7b84a175d37875e (diff) |
change marks[] array to uint64_t, so the code can track full 64-bit
details from the ELF header instead of faking it.
Proposal from mlarkin, tested on most architectures already
Diffstat (limited to 'sys/arch/sgi/stand')
-rw-r--r-- | sys/arch/sgi/stand/boot/boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/stand/boot/boot.c b/sys/arch/sgi/stand/boot/boot.c index bccf7ad953d..1a5ec3be92a 100644 --- a/sys/arch/sgi/stand/boot/boot.c +++ b/sys/arch/sgi/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.24 2014/02/22 20:27:21 miod Exp $ */ +/* $OpenBSD: boot.c,v 1.25 2019/04/10 04:17:36 deraadt Exp $ */ /* * Copyright (c) 2004 Opsycon AB, www.opsycon.se. @@ -68,7 +68,7 @@ char rnddata[BOOTRANDOM_MAX]; void boot_main(int argc, char *argv[]) { - u_long marks[MARK_MAX]; + uint64_t marks[MARK_MAX]; u_int64_t *esym; char line[1024]; u_long entry; |