smbcontrol: Fix the build with libunwind
authorVolker Lendecke <vl@samba.org>
Sun, 27 Jan 2013 16:24:31 +0000 (17:24 +0100)
committerAndreas Schneider <asn@samba.org>
Mon, 28 Jan 2013 09:08:00 +0000 (10:08 +0100)
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/utils/smbcontrol.c

index ac13dc4e3be1cdc3a7f3388266c6e39ca6d12b92..8a690566e70903df87941310eef81d4ed61518f6 100644 (file)
@@ -327,7 +327,7 @@ static int stack_trace_server(const struct server_id *id,
                              void *priv)
 {
        if (id->vnn == get_my_vnn()) {
-               print_stack_trace(procid_to_pid(&id->pid), (int *)priv);
+               print_stack_trace(procid_to_pid(id), (int *)priv);
        }
        return 0;
 }