aboutsummaryrefslogtreecommitdiff
path: root/gcc/substring-locations.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/substring-locations.c')
-rw-r--r--gcc/substring-locations.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/substring-locations.c b/gcc/substring-locations.c
index 095e5d0..7de435b 100644
--- a/gcc/substring-locations.c
+++ b/gcc/substring-locations.c
@@ -155,8 +155,8 @@ format_warning_va (const substring_loc &fmt_loc,
if (corrected_substring)
substring_richloc.add_fixit_replace (fmt_substring_range,
corrected_substring);
- inform_at_rich_loc (&substring_richloc,
- "format string is defined here");
+ inform (&substring_richloc,
+ "format string is defined here");
}
return warned;