summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2006-04-20 14:14:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:26 -0500
commit3cd1101c9b6dd998384e3fa9f5e0bae94a70b737 (patch)
treeece7a277a46c1301c3becfbfdd069f4ece7cd4e6 /source3
parent97355b7e3509bdc3afee439b5702cd69bb9e8c30 (diff)
downloadsamba-3cd1101c9b6dd998384e3fa9f5e0bae94a70b737.tar.gz
samba-3cd1101c9b6dd998384e3fa9f5e0bae94a70b737.tar.xz
samba-3cd1101c9b6dd998384e3fa9f5e0bae94a70b737.zip
r15152: Fix a case when target is offline. Jerry, this needs to be in 3.0.23pre1
(This used to be commit f068862e56861d74021d72726248cb738a2ff0fe)
Diffstat (limited to 'source3')
-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 */