diff --git a/ChangeLog b/ChangeLog index 2da62cce..64aaf004 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-07-21 Akim Demaille + + Pacify gcc warnings. + * src/getargs.c (skeleton_arg): Pass "%s" to printf-like functions + with variable format and no argument. + 2010-06-17 Paul Eggert Update from GFDL GFDL 1.2 to 1.3. diff --git a/src/getargs.c b/src/getargs.c index 27bc8974..7cbb42ed 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -370,9 +370,9 @@ skeleton_arg (char const *arg, int prio, location const *loc) char const *msg = _("multiple skeleton declarations are invalid"); if (loc) - complain_at (*loc, msg); + complain_at (*loc, "%s", msg); else - complain (msg); + complain ("%s", msg); } }