ref: f8ea69ca6081bb37783ff13b979dfd88125986f8
parent: de88b79d230497866fe0c6afbefff5d7f283d46a
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Apr 28 11:21:22 EDT 2023
check: better errors
--- a/check.c
+++ b/check.c
@@ -44,12 +44,12 @@
fail++;
}
if(h != 0 && b->nval < 2){
- fprint(fd, "underfilled leaf\n");
+ fprint(fd, "warning: underfilled leaf %B\n", b->bp);
fail++;
}
}
if(b->type == Tpivot && b->nval < 2){
- fprint(fd, "underfilled pivot\n");
+ fprint(fd, "warning: underfilled pivot %B\n", b->bp);
fail++;
}
getval(b, 0, &x);
--- a/cons.c
+++ b/cons.c
@@ -99,7 +99,7 @@
if(checkfs(fd))
fprint(fd, "ok\n");
else
- fprint(fd, "broken fs\n");
+ fprint(fd, "fishy\n");
}
static void