diff options
Diffstat (limited to 'libdwfl/dwfl_frame.c')
-rw-r--r-- | libdwfl/dwfl_frame.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdwfl/dwfl_frame.c b/libdwfl/dwfl_frame.c index 28008e90..e45cf14c 100644 --- a/libdwfl/dwfl_frame.c +++ b/libdwfl/dwfl_frame.c @@ -200,7 +200,7 @@ dwfl_pid (Dwfl *dwfl) { if (dwfl->process == NULL) { - __libdwfl_seterrno (dwfl->process_attach_error); + __libdwfl_seterrno (DWFL_E_NO_ATTACH_STATE); return -1; } return dwfl->process->pid; @@ -235,7 +235,7 @@ dwfl_getthreads (Dwfl *dwfl, int (*callback) (Dwfl_Thread *thread, void *arg), Dwfl_Process *process = dwfl->process; if (process == NULL) { - __libdwfl_seterrno (dwfl->process_attach_error); + __libdwfl_seterrno (DWFL_E_NO_ATTACH_STATE); return -1; } @@ -306,7 +306,7 @@ getthread (Dwfl *dwfl, pid_t tid, Dwfl_Process *process = dwfl->process; if (process == NULL) { - __libdwfl_seterrno (dwfl->process_attach_error); + __libdwfl_seterrno (DWFL_E_NO_ATTACH_STATE); return -1; } |