commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mig] 02/15: Fix format string build failure with _FORTIFY_SOURCE=2


From: Samuel Thibault
Subject: [mig] 02/15: Fix format string build failure with _FORTIFY_SOURCE=2
Date: Sat, 28 Sep 2013 12:42:28 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository mig.

commit 7d6e8f1a4718e70724a3bdeb3dc3ad4c1e3897d7
Author: Guillem Jover <address@hidden>
Date:   Sun Jul 1 09:41:03 2012 -0300

    Fix format string build failure with _FORTIFY_SOURCE=2
    
    * parser.y (yyerror): Use a format string instead of directly passing
    the argument to error.
---
 parser.y |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parser.y b/parser.y
index cc149da..ade56be 100644
--- a/parser.y
+++ b/parser.y
@@ -131,7 +131,7 @@ static const char *import_name(statement_kind_t sk);
 void
 yyerror(const char *s)
 {
-    error(s);
+    error("%s", s);
 }
 %}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/mig.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]