summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-01-20 16:03:28 +0000
committerjhb <jhb@FreeBSD.org>2011-01-20 16:03:28 +0000
commit6fb12dd3d562bb6c79e21fe9fc2bfba0da8922f9 (patch)
tree98f9fa36ac0aa57df77080802cad668faf446eba /sys/boot
parent95417d69062ea9181cd7b53a2910a7ec94edc83b (diff)
downloadFreeBSD-src-6fb12dd3d562bb6c79e21fe9fc2bfba0da8922f9.zip
FreeBSD-src-6fb12dd3d562bb6c79e21fe9fc2bfba0da8922f9.tar.gz
Fix a stack leak in r215345 when skipping over the ACPI menu item for
machines that do not support ACPI. Submitted by: olli
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/forth/beastie.4th2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/forth/beastie.4th b/sys/boot/forth/beastie.4th
index 65d5fc0..1130ed0 100644
--- a/sys/boot/forth/beastie.4th
+++ b/sys/boot/forth/beastie.4th
@@ -193,7 +193,7 @@ at-xy ." `--{__________) "
then
else
menuidx @
- 1+ dup
+ 1+
menuidx !
-2 bootacpikey !
then
OpenPOWER on IntegriCloud