From 1beb4bc9d12fb124935e9e4710f48ad616dacc60 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 26 Dec 2012 21:42:14 +0100 Subject: tdb: Fix \n in error messages Reviewed-by: Rusty Russell --- lib/tdb/tools/tdbtorture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/tdb/tools') diff --git a/lib/tdb/tools/tdbtorture.c b/lib/tdb/tools/tdbtorture.c index 64c5043441..04bbb7da76 100644 --- a/lib/tdb/tools/tdbtorture.c +++ b/lib/tdb/tools/tdbtorture.c @@ -438,10 +438,10 @@ done: db = tdb_open_ex(test_tdb, hash_size, TDB_DEFAULT, O_RDWR, 0, &log_ctx, NULL); if (!db) { - fatal("db open failed"); + fatal("db open failed\n"); } if (tdb_check(db, NULL, NULL) == -1) { - printf("db check failed"); + printf("db check failed\n"); exit(1); } tdb_close(db); -- cgit