summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tdb/test/run-open-during-transaction.c2
-rw-r--r--lib/tdb/test/run-rescue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb/test/run-open-during-transaction.c b/lib/tdb/test/run-open-during-transaction.c
index a825e6269d7..32844fb35e8 100644
--- a/lib/tdb/test/run-open-during-transaction.c
+++ b/lib/tdb/test/run-open-during-transaction.c
@@ -153,7 +153,7 @@ int main(int argc, char *argv[])
unlock_callback = after_unlock;
for (i = 0; i < sizeof(flags)/sizeof(flags[0]); i++) {
clear_if_first = (flags[i] & TDB_CLEAR_IF_FIRST);
- diag("Test with %s and %s\n",
+ diag("Test with %s and %s",
clear_if_first ? "CLEAR" : "DEFAULT",
(flags[i] & TDB_NOMMAP) ? "no mmap" : "mmap");
unlink(TEST_DBNAME);
diff --git a/lib/tdb/test/run-rescue.c b/lib/tdb/test/run-rescue.c
index a26c493972a..d0369e38b23 100644
--- a/lib/tdb/test/run-rescue.c
+++ b/lib/tdb/test/run-rescue.c
@@ -53,7 +53,7 @@ static void count_records(TDB_DATA key, TDB_DATA data, void *_wd)
struct walk_data *wd = _wd;
if (!tdb_deq(key, wd->key) || !tdb_deq(data, wd->data))
- diag("%.*s::%.*s\n",
+ diag("%.*s::%.*s",
(int)key.dsize, key.dptr, (int)data.dsize, data.dptr);
wd->count++;
}