summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hood <cgull+l-freebsd-bugzilla@glup.org>2021-07-11 08:44:12 -0600
committerToomas Soome <tsoome@me.com>2021-07-19 19:20:37 +0300
commit3fa2c5b4960d0046e3080b8f059afab7943d0a1b (patch)
tree5ff2728f5571c58b7aa1d2d1a837451a9e344b3b
parent85ee7b00732be2ebee41883d84ee6454eafcb8d4 (diff)
downloadillumos-joyent-3fa2c5b4960d0046e3080b8f059afab7943d0a1b.tar.gz
13955 loader: support.4th resets the read buffer incorrectly
Reviewed-by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/boot/sys/boot/forth/support.4th2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/boot/sys/boot/forth/support.4th b/usr/src/boot/sys/boot/forth/support.4th
index 2abf48f70b..a3b384d723 100644
--- a/usr/src/boot/sys/boot/forth/support.4th
+++ b/usr/src/boot/sys/boot/forth/support.4th
@@ -523,7 +523,7 @@ variable fd
get-current ( -- wid ) previous definitions >search ( wid -- )
: reset_line_reading
- 0 to read_buffer_ptr
+ 0 read_buffer .len !
;
: read_line