diff options
Diffstat (limited to '')
-rw-r--r-- | jnlib/dotlock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jnlib/dotlock.c b/jnlib/dotlock.c index 079723ce9..e1964fd26 100644 --- a/jnlib/dotlock.c +++ b/jnlib/dotlock.c @@ -454,7 +454,8 @@ read_lockfile (DOTLOCK h, int *same_node ) #else char buffer_space[10+1+70+1]; /* 70 is just an estimated value; node name are usually shorter. */ - int fd, pid; + int fd; + int pid = -1; char *buffer, *p; size_t expected_len; int res, nread; |