summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-01-13 08:11:41 +0000
committerMike Smith <msmith@FreeBSD.org>1999-01-13 08:11:41 +0000
commit4e24cd8e44c4ffd0e39f8a435b9bce7c35b361a7 (patch)
tree6889894755e7746f1d0d6e82c8e3d169c62d4a28
parent90b2fe743a850eb939a0fad64202845fcb3024ef (diff)
Notes
-rw-r--r--sys/boot/common/interp_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/interp_parse.c b/sys/boot/common/interp_parse.c
index a450f7d92dd85..865c8cbc05011 100644
--- a/sys/boot/common/interp_parse.c
+++ b/sys/boot/common/interp_parse.c
@@ -11,7 +11,7 @@
* Jordan K. Hubbard
* 29 August 1998
*
- * $Id: interp_parse.c,v 1.4 1998/09/17 23:52:02 msmith Exp $
+ * $Id: interp_parse.c,v 1.5 1999/01/10 05:08:12 msmith Exp $
*
* The meat of the simple parser.
*/
@@ -103,7 +103,7 @@ parse(int *argc, char ***argv, char *str)
if ((*p == '\\') && p[1]) {
p++;
PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
- buf[i] = *p++;
+ buf[i++] = *p++;
} else if (isquote(*p)) {
quote = quote ? 0 : *p;
++p;