summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-12-19 21:35:39 +0000
committerOlivier Blin <blino@mageia.org>2011-12-19 21:35:39 +0000
commit821b47a1f28899fa6cf56550f3167bab2cc7c799 (patch)
treedd2cd340331e257bef29af088476c48ee3c4a8a8 /mdk-stage1
parent5242ddc6441967143c02c9e5e437b9c72294eeac (diff)
downloaddrakx-backup-do-not-use-821b47a1f28899fa6cf56550f3167bab2cc7c799.tar
drakx-backup-do-not-use-821b47a1f28899fa6cf56550f3167bab2cc7c799.tar.gz
drakx-backup-do-not-use-821b47a1f28899fa6cf56550f3167bab2cc7c799.tar.bz2
drakx-backup-do-not-use-821b47a1f28899fa6cf56550f3167bab2cc7c799.tar.xz
drakx-backup-do-not-use-821b47a1f28899fa6cf56550f3167bab2cc7c799.zip
fix build with Werror
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/NEWS1
-rw-r--r--mdk-stage1/pcmcia/yacc_config.y4
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];