aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-errors.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/netlists-errors.adb')
-rw-r--r--src/synth/netlists-errors.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/netlists-errors.adb b/src/synth/netlists-errors.adb
index 880ae1418..0bee02e6a 100644
--- a/src/synth/netlists-errors.adb
+++ b/src/synth/netlists-errors.adb
@@ -68,7 +68,7 @@ package body Netlists.Errors is
Inst : constant Instance := Instance (Val);
begin
if Format = 'n' then
- Output_Name_1 (Get_Name (Inst));
+ Output_Name_1 (Get_Instance_Name (Inst));
else
raise Internal_Error;
end if;