summaryrefslogtreecommitdiff
path: root/libdwfl/linux-pid-attach.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2013-11-14 20:53:20 +0100
committerJan Kratochvil <jan.kratochvil@redhat.com>2013-11-14 20:53:20 +0100
commited78237ef7c31fb1d7dc80e2c2e07484e1216727 (patch)
tree77b47858d8af36f03c5b75c3c9d8c08905d4808b /libdwfl/linux-pid-attach.c
parent954a7b0f64346339ef12fb9c04cd2912b72c749d (diff)
downloadelfutils-ed78237ef7c31fb1d7dc80e2c2e07484e1216727.tar.gz
Fix dwfl_attach_state machine->elf
Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
Diffstat (limited to 'libdwfl/linux-pid-attach.c')
-rw-r--r--libdwfl/linux-pid-attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdwfl/linux-pid-attach.c b/libdwfl/linux-pid-attach.c
index 5ad58f6b..b4f31654 100644
--- a/libdwfl/linux-pid-attach.c
+++ b/libdwfl/linux-pid-attach.c
@@ -271,7 +271,7 @@ __libdwfl_attach_state_for_pid (Dwfl *dwfl, pid_t pid)
}
pid_arg->dir = dir;
pid_arg->tid_attached = 0;
- if (! INTUSE(dwfl_attach_state) (dwfl, EM_NONE, pid, &pid_thread_callbacks,
+ if (! INTUSE(dwfl_attach_state) (dwfl, NULL, pid, &pid_thread_callbacks,
pid_arg))
{
closedir (dir);