summaryrefslogtreecommitdiff
path: root/gcc/c-format.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-18 20:47:27 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-18 20:47:27 +0000
commit782858b8cb5960a958ff47f1fe62fd9896596002 (patch)
tree079951eb2db644175096b5fcc82f3144eb9b7381 /gcc/c-format.c
parent4d6b11ab420f373787b369905fe1271927ae671c (diff)
downloadgcc-782858b8cb5960a958ff47f1fe62fd9896596002.tar.gz
* c-common.c, c-decl.c, c-format.c, c-typeck.c: Use %D for
declarations in diagnostics and %E for identifiers, not %s. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96701 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-format.c')
-rw-r--r--gcc/c-format.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-format.c b/gcc/c-format.c
index a0ae154ab4f..914d6cc9792 100644
--- a/gcc/c-format.c
+++ b/gcc/c-format.c
@@ -199,7 +199,8 @@ decode_format_attr (tree args, function_format_info *info, int validated_p)
if (info->format_type == format_type_error)
{
gcc_assert (!validated_p);
- warning ("%qs is an unrecognized format function type", p);
+ warning ("%qE is an unrecognized format function type",
+ format_type_id);
return false;
}
}