aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/check-init.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/check-init.c')
-rw-r--r--gcc/java/check-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c
index 04ce354..03af2fa 100644
--- a/gcc/java/check-init.c
+++ b/gcc/java/check-init.c
@@ -976,8 +976,8 @@ check_for_initialization (tree body, tree mdecl)
if (index >= 0 && ! ASSIGNED_P (before, index))
{
if (! is_finit_method)
- error ("%Hfinal field '%D' may not have been initialized",
- &DECL_SOURCE_LOCATION (decl), decl);
+ error ("%Jfinal field '%D' may not have been initialized",
+ decl, decl);
}
else if (is_finit_method)
DECL_FIELD_FINAL_IUD (decl) = 1;