diff options
author | peter <peter@FreeBSD.org> | 2001-02-19 04:43:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-02-19 04:43:21 +0000 |
commit | b96d955fcac9315b51bd01025be303eabf0cdfc6 (patch) | |
tree | c40bcee409cdb724826174fb503e72be95d9626e /usr.sbin/config/config.y | |
parent | 49ef1aaa13c43ce23bf5d856364d1178c713f50c (diff) | |
download | FreeBSD-src-b96d955fcac9315b51bd01025be303eabf0cdfc6.zip FreeBSD-src-b96d955fcac9315b51bd01025be303eabf0cdfc6.tar.gz |
${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS"
string could have been passed to free(); There are some warnings here
I am not sure how to fix as they are in the lex scanner code, etc.
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r-- | usr.sbin/config/config.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index 52f77c0..d6247be 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -84,7 +84,7 @@ int maxusers; #define ns(s) strdup(s) -static void yyerror(char *s); +static void yyerror(const char *s); static char * devopt(char *dev) @@ -283,7 +283,7 @@ Device_spec: %% static void -yyerror(char *s) +yyerror(const char *s) { errx(1, "line %d: %s", yyline + 1, s); |