summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e1bf25ad05..5c798c7901 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -846,7 +846,7 @@ static void usage(poptContext *pc)
static struct process_id parse_dest(const char *dest)
{
- struct process_id result;
+ struct process_id result = {-1};
pid_t pid;
/* Zero is a special return value for broadcast smbd */