
Initialize results in jfsck().

---

 cur-root/check.c |    8 ++++++++
 1 files changed, 8 insertions(+)

diff -puN check.c~initialize_results check.c
--- cur/check.c~initialize_results	2004-08-30 02:38:18.000000000 -0300
+++ cur-root/check.c	2004-08-30 02:39:16.000000000 -0300
@@ -118,6 +118,14 @@ int jfsck(const char *name, struct jfsck
 	map = NULL;
 	ret = 0;
 
+	res->total = 0;
+	res->invalid = 0;
+	res->in_progress = 0;
+	res->broken = 0;
+	res->corrupt = 0;
+	res->apply_error = 0;
+	res->reapplied = 0;
+
 	fs.fd = open(name, O_RDWR | O_SYNC | O_LARGEFILE);
 	if (fs.fd < 0) {
 		ret = J_ENOENT;
_
