mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 03:47:16 +02:00
Fix is from upstream: https://lists.gnu.org/archive/html/info-mtools/2021-06/msg00008.html
13 lines
317 B
Diff
13 lines
317 B
Diff
diff --git a/init.c b/init.c
|
|
index af154b7..4040018 100644
|
|
--- a/init.c
|
|
+++ b/init.c
|
|
@@ -156,7 +156,7 @@ static Stream_t *try_device(struct device *dev,
|
|
#endif
|
|
|
|
for(retry_write=0; retry_write<2; retry_write++) {
|
|
- Stream_t *Stream;
|
|
+ Stream_t *Stream = NULL;
|
|
int r;
|
|
int geomFailure=0;
|
|
if(retry_write)
|