summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-12-26 21:42:14 +0100
committerVolker Lendecke <vl@samba.org>2013-01-07 09:32:22 +0100
commit1beb4bc9d12fb124935e9e4710f48ad616dacc60 (patch)
treef3d7389966c5bf05b343b10bbed3ba86a07cba1c
parent94f11e9d168931018125a1552f22b786ba290dd0 (diff)
downloadsamba-1beb4bc9d12fb124935e9e4710f48ad616dacc60.tar.gz
samba-1beb4bc9d12fb124935e9e4710f48ad616dacc60.tar.bz2
samba-1beb4bc9d12fb124935e9e4710f48ad616dacc60.zip
tdb: Fix \n in error messages
Reviewed-by: Rusty Russell <rusty@samba.org>
-rw-r--r--lib/tdb/tools/tdbtorture.c4
1 files changed, 2 insertions, 2 deletions
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);