diff options
Diffstat (limited to 'sbin/devd')
-rw-r--r-- | sbin/devd/token.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/token.l b/sbin/devd/token.l index 0fa78da..35e8a18 100644 --- a/sbin/devd/token.l +++ b/sbin/devd/token.l @@ -61,10 +61,10 @@ update_lineno(const char *cp) \} { return ENDBLOCK; } [0-9]+ { yylval.i = atoi(yytext); return NUMBER; } \"[^"]+\" { - update_lineno(yytext); int len = strlen(yytext) - 2; char *walker; int i; + update_lineno(yytext); if ((yylval.str = (char *) malloc(len + 1)) == NULL) goto out; walker = yylval.str; |