summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index ccc9701401..532b2fb8bf 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -247,7 +247,7 @@ static int stack_trace_connection(struct db_record *rec,
const struct connections_data *crec,
void *priv)
{
- print_stack_trace(procid_to_pid(&conn->pid), (int *)priv);
+ print_stack_trace(procid_to_pid(&crec->pid), (int *)priv);
return 0;
}