aboutsummaryrefslogtreecommitdiff
path: root/gold/incremental-dump.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/incremental-dump.cc')
-rw-r--r--gold/incremental-dump.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/incremental-dump.cc b/gold/incremental-dump.cc
index 1887db8..a727eb5 100644
--- a/gold/incremental-dump.cc
+++ b/gold/incremental-dump.cc
@@ -449,10 +449,10 @@ main(int argc, char** argv)
Output_file* file = new Output_file(filename);
- bool t = file->open_for_modification();
+ bool t = file->open_base_file(NULL, false);
if (!t)
{
- fprintf(stderr, "%s: open_for_modification(%s): %s\n", argv[0], filename,
+ fprintf(stderr, "%s: open_base_file(%s): %s\n", argv[0], filename,
strerror(errno));
return 1;
}