Skip to content

Commit

Permalink
Use the correct filename for the error message.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153564 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Mar 28, 2012
1 parent 7242a4f commit d4ec054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/libprofile/GCDAProfiling.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void llvm_gcda_start_file(const char *orig_filename) {

if (!output_file) {
fprintf(stderr, "LLVM profiling runtime: while opening '%s': ",
filename);
cptr ? cptr + 1 : orig_filename);
perror("");
exit(1);
}
Expand Down

0 comments on commit d4ec054

Please sign in to comment.