If btrfsck is not able to open a device, it segfaults. This fixes it and
prints an error message too.
---
btrfsck.c |3 +++
disk-io.c |1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/btrfsck.c b/btrfsck.c
index 4a41e6d..cde0e68 100644
--- a/btrfsck.c
+++ b/btrfsck.c
@@
On Friday 16 January 2009 16:27:57 Thadeu Lima de Souza Cascardo wrote:
> + fprintf (stderr, "Coult not open %s\n", filename);
"Coult" should be "Could".
Other than that, the patch seems to fix the segfault issue for me.
thanks,
-Zach
--
To unsubscribe from this list: send the li