summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-02-28 09:45:10 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-02-28 09:45:10 +0000
commitc988472a1e9046b3f0af426331277385bb3f2257 (patch)
treec8acf1eb5f19dc63c05cb64c3391366862e87e68 /bin/ksh/lex.c
parentdb51615edc986ca35ed9538dd9affedf3da17a9e (diff)
typos; from Brian Poole
Diffstat (limited to 'bin/ksh/lex.c')
-rw-r--r--bin/ksh/lex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/lex.c b/bin/ksh/lex.c
index 46e957dd43e..11f065797f9 100644
--- a/bin/ksh/lex.c
+++ b/bin/ksh/lex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.c,v 1.16 2002/06/09 05:47:27 todd Exp $ */
+/* $OpenBSD: lex.c,v 1.17 2003/02/28 09:45:09 jmc Exp $ */
/*
* lexical analysis and source input
@@ -730,7 +730,7 @@ Done:
/* copy word to unprefixed string ident */
for (sp = yylval.cp, dp = ident; dp < ident+IDENT && (c = *sp++) == CHAR; )
*dp++ = *sp++;
- /* Make sure the ident array stays '\0' paded */
+ /* Make sure the ident array stays '\0' padded */
memset(dp, 0, (ident+IDENT) - dp + 1);
if (c != EOS)
*ident = '\0'; /* word is not unquoted */