X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Fcheck.c;h=53fb286613a3e829e8f2aa159109124c3e182503;hp=a9a9ece0da37c01eb87c0dbf3e4ac6ee05250d07;hb=a1ace0cd114e0c588d6ce1b9e7386af11716e0bd;hpb=ba2cc03f0648101ca0be687ae70947e7ae331f4c diff --git a/ccan/tdb/check.c b/ccan/tdb/check.c index a9a9ece0..53fb2866 100644 --- a/ccan/tdb/check.c +++ b/ccan/tdb/check.c @@ -30,7 +30,7 @@ static bool tdb_check_header(struct tdb_context *tdb, tdb_off_t *recovery) { struct tdb_header hdr; - if (tdb->methods->tdb_read(tdb, 0, &hdr, sizeof(hdr), DOCONV()) == -1) + if (tdb->methods->tdb_read(tdb, 0, &hdr, sizeof(hdr), 0) == -1) return false; if (strcmp(hdr.magic_food, TDB_MAGIC_FOOD) != 0) goto corrupt;