diff options
author | Olivier Blin <blino@mageia.org> | 2011-12-19 21:35:39 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2011-12-19 21:35:39 +0000 |
commit | 68c303d7cde3004a1d10c196146f68f695ffd88d (patch) | |
tree | dd2cd340331e257bef29af088476c48ee3c4a8a8 /mdk-stage1 | |
parent | adbe7a0cb07feacc83d074f4e910d417a8d5a76a (diff) | |
download | drakx-68c303d7cde3004a1d10c196146f68f695ffd88d.tar drakx-68c303d7cde3004a1d10c196146f68f695ffd88d.tar.gz drakx-68c303d7cde3004a1d10c196146f68f695ffd88d.tar.bz2 drakx-68c303d7cde3004a1d10c196146f68f695ffd88d.tar.xz drakx-68c303d7cde3004a1d10c196146f68f695ffd88d.zip |
fix build with Werror
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/NEWS | 1 | ||||
-rw-r--r-- | mdk-stage1/pcmcia/yacc_config.y | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/mdk-stage1/NEWS b/mdk-stage1/NEWS index 5d1af07f7..7316bc99e 100644 --- a/mdk-stage1/NEWS +++ b/mdk-stage1/NEWS @@ -1,4 +1,5 @@ - fix retrieving mirrorlist, broken in 1.53 +- fix build with Werror 1.53: - display distro name in mirror list too (#191) diff --git a/mdk-stage1/pcmcia/yacc_config.y b/mdk-stage1/pcmcia/yacc_config.y index be5ef98fe..c33f397d6 100644 --- a/mdk-stage1/pcmcia/yacc_config.y +++ b/mdk-stage1/pcmcia/yacc_config.y @@ -29,7 +29,7 @@ extern int current_lineno; extern int yylex(void); /* mdk-stage1 */ -void yyerror(char *msg, ...); +void yyerror(const char *msg, ...); %} @@ -114,7 +114,7 @@ resource: IRQ_NO NUMBER ; %% -void yyerror(char *msg, ...) +void yyerror(const char *msg, ...) { va_list ap; char str[256]; |