summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbrandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbrandom.c b/dbrandom.c
index 8ea61f6..d7340a3 100644
--- a/dbrandom.c
+++ b/dbrandom.c
@@ -53,7 +53,7 @@ static int donerandinit = 0;
static int
process_file(hash_state *hs, const char *filename,
unsigned int wantlen, int prngd) {
- int readfd;
+ int readfd = -1;
unsigned int readcount;
int ret = DROPBEAR_FAILURE;