fixed a spelling error

This commit is contained in:
Todd C. Miller
1995-09-03 17:19:51 +00:00
parent 963dd0e358
commit f3268e58e9
2 changed files with 2 additions and 2 deletions

View File

@@ -218,7 +218,7 @@ static void append() {
yyerror("unable to allocate memory"); yyerror("unable to allocate memory");
} }
/* Effeciently append the arg (with a leading space) */ /* Efficiently append the arg (with a leading space) */
s = yylval.string + string_len; s = yylval.string + string_len;
*s++ = ' '; *s++ = ' ';
(void) strcpy(s, yytext); (void) strcpy(s, yytext);

View File

@@ -496,7 +496,7 @@ static char *dotcat(s1, s2)
if (s == NULL) if (s == NULL)
yyerror("unable to allocate memory"); yyerror("unable to allocate memory");
/* cat s1.s2 -> s effeciently */ /* cat s1.s2 -> s efficient */
(void) strcpy(s, s1); (void) strcpy(s, s1);
*(s + len1) = '.'; *(s + len1) = '.';
(void) strcpy(s + len1 + 1, s2); (void) strcpy(s + len1 + 1, s2);