summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-10-14 11:49:57 +0200
committerMichael Adam <obnox@samba.org>2016-01-07 16:01:09 +0100
commitfe3c270ea6e9e58100f97833119a1e6d9f8b1de9 (patch)
tree106eff4e29072f90e07a5b9dd3a77dfb8f6236dd /source3/utils
parent2948fb347a8cd44deb358b65ad95125ab2b60c42 (diff)
downloadsamba-fe3c270ea6e9e58100f97833119a1e6d9f8b1de9.tar.gz
smbcontrol: Use procid_is_local
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
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 d1eb7ddf509..ad602b33d4b 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -325,7 +325,7 @@ static int stack_trace_server(const struct server_id *id,
uint32_t msg_flags,
void *priv)
{
- if (id->vnn == get_my_vnn()) {
+ if (procid_is_local(id)) {
print_stack_trace(procid_to_pid(id), (int *)priv);
}
return 0;