summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1998-11-06 03:50:44 +0000
committerMike Smith <msmith@FreeBSD.org>1998-11-06 03:50:44 +0000
commit8a34f8ba881273c34e9ee0ce947b32859b0ae2d6 (patch)
treebec2e727bd19315285d1678ae0c38036d850bac2
parent8190a019a5a41e5b3a3a967d8a255aa2a9b0b1ac (diff)
Notes
-rw-r--r--sys/boot/common/interp_forth.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/boot/common/interp_forth.c b/sys/boot/common/interp_forth.c
index 94cc9feb530b1..dff0d2507022e 100644
--- a/sys/boot/common/interp_forth.c
+++ b/sys/boot/common/interp_forth.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: interp_forth.c,v 1.3 1998/11/05 08:39:38 jkh Exp $
+ * $Id: interp_forth.c,v 1.4 1998/11/06 03:45:36 msmith Exp $
*/
#include <stand.h>
@@ -77,8 +77,11 @@ bf_command(FICL_VM *vm)
line = malloc(strlen(name) + len + 2);
strcpy(line, name);
- if (len > 0)
+ if (len > 0) {
+ strcat(line, " ");
strncat(line, tail, len);
+ vmUpdateTib(vm, tail + len);
+ }
DEBUG("cmd '%s'", line);
command_errmsg = command_errbuf;