summaryrefslogtreecommitdiff
path: root/libbacktrace/fileline.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-29 17:50:54 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-29 17:50:54 +0000
commitbabed505e2d43944173dcdfac20a3933a3a9a219 (patch)
treee6e8bb0d54eac192302f9f9e709deea7ffb64fa4 /libbacktrace/fileline.c
parent33ea6150f326adb2eb64c3837973d72c2801c8ff (diff)
downloadgcc-babed505e2d43944173dcdfac20a3933a3a9a219.tar.gz
PR other/54749
* fileline.c (fileline_initialize): Pass errnum as -1 when reporting that we could not read executable information after a previous failure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191855 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace/fileline.c')
-rw-r--r--libbacktrace/fileline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/fileline.c b/libbacktrace/fileline.c
index 6aeaf40159f..4efd19b0595 100644
--- a/libbacktrace/fileline.c
+++ b/libbacktrace/fileline.c
@@ -63,7 +63,7 @@ fileline_initialize (struct backtrace_state *state,
if (failed)
{
- error_callback (data, "failed to read executable information", 0);
+ error_callback (data, "failed to read executable information", -1);
return 0;
}