+ if (!fix && errors || fatal_errors)
+ exit(1);
+}
+
+static int
+shake_kibitz(struct obuck_header *old, oid_t new, byte *buck UNUSED)
+{
+ if (verbose)
+ {
+ printf("%08x -> ", old->oid);
+ if (new == OBUCK_OID_DELETED)
+ puts("DELETED");
+ else
+ printf("%08x\n", new);
+ }
+ return 1;
+}
+
+static void
+shake(void)
+{
+ obuck_init(1);
+ obuck_shakedown(shake_kibitz);
+ obuck_cleanup();