From 45e28329723c15c1ba6b8420cd3689cd03613de7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 30 Mar 2006 15:47:41 +0000 Subject: [PATCH] r14826: initialize pid1 and pid2:-) metze --- source/torture/raw/context.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/torture/raw/context.c b/source/torture/raw/context.c index d67812ccb82..0c9bcc417f8 100644 --- a/source/torture/raw/context.c +++ b/source/torture/raw/context.c @@ -535,6 +535,9 @@ static BOOL test_pid_exit_only_sees_open(struct smbcli_state *cli, TALLOC_CTX *m return False; } + pid1 = cli->session->pid; + pid2 = pid1 + 1; + printf("pid1=%d pid2=%d\n", pid1, pid2); printf("create a file using pid1\n");