aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlprint.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghdldrv/ghdlprint.adb')
-rw-r--r--src/ghdldrv/ghdlprint.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index 513e68baa..63acd06f3 100644
--- a/src/ghdldrv/ghdlprint.adb
+++ b/src/ghdldrv/ghdlprint.adb
@@ -1640,7 +1640,7 @@ package body Ghdlprint is
if Loc_File /= Cur_File then
Cur_File := Loc_File;
Put ("XFILE: ");
- Dir := Get_Source_File_Directory (Cur_File);
+ Dir := Get_Directory_Name (Cur_File);
if Dir /= Null_Identifier then
Put (Image (Dir));
end if;