mirror of https://github.com/borgbackup/borg.git
Initialize chunker fd to -1, so it's not equal to STDIN_FILENO (0)
This commit is contained in:
parent
d3d78f7ae3
commit
7c6f3ece66
|
@ -96,6 +96,7 @@ chunker_init(int window_size, int chunk_mask, int min_size, int max_size, uint32
|
|||
c->table = buzhash_init_table(seed);
|
||||
c->buf_size = max_size;
|
||||
c->data = malloc(c->buf_size);
|
||||
c->fh = -1;
|
||||
return c;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue