summaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 8d801281d45..3124196e7b0 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -603,7 +603,7 @@ cb_file_change (pfile, fc)
const cpp_file_change *fc;
{
/* Just keep track of current file name. */
- cur_file = fc->to.filename;
+ cur_file = fc->map->to_file;
}
static void