summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/interp_parse.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-01-13 08:11:41 +0000
committermsmith <msmith@FreeBSD.org>1999-01-13 08:11:41 +0000
commitedc692a01679c567d2595101d350360b0830a570 (patch)
treeceae0f166c7d9f323ee1a676a71e8fd0e48abb4a /sys/boot/common/interp_parse.c
parent3c93584273f3f02c38f548e785bfa7958b7bb7fc (diff)
downloadFreeBSD-src-edc692a01679c567d2595101d350360b0830a570.zip
FreeBSD-src-edc692a01679c567d2595101d350360b0830a570.tar.gz
Typo in patch application.
PR: kern/9459 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
Diffstat (limited to 'sys/boot/common/interp_parse.c')
-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 a450f7d..865c8cb 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;
OpenPOWER on IntegriCloud