tdb2: simplify logging levels, rename TDB_DEBUG_* to TDB_LOG_*
[ccan] / ccan / tdb2 / hash.c
index d242d531780d1d41b7e330b0abfcf894012c82de..17601c0c8bf3fc2bf3ed2496735c3dc725e8e7fd 100644 (file)
@@ -704,7 +704,7 @@ int next_in_hash(struct tdb_context *tdb, int ltype,
                        }
                        if (rec_magic(&rec) != TDB_USED_MAGIC) {
                                tdb_logerr(tdb, TDB_ERR_CORRUPT,
-                                          TDB_DEBUG_FATAL,
+                                          TDB_LOG_ERROR,
                                           "next_in_hash:"
                                           " corrupt record at %llu",
                                           (long long)off);