From 5911be914299d9af67b6a1eaedfdb2e044a369c6 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Tue, 10 Apr 2012 22:11:32 -0700 Subject: [PATCH 1/1] Fix deletion error logging for DB4 backend The change to include the keyid failed to remove some commas on the format string, meaning the output was even less useful. --- keydb_db4.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keydb_db4.c b/keydb_db4.c index 4e35bff..d3caa37 100644 --- a/keydb_db4.c +++ b/keydb_db4.c @@ -952,7 +952,7 @@ static int db4_delete_key(uint64_t keyid, bool intrans) if (ret != 0) { logthing(LOGTHING_ERROR, - "Problem deleting short keyid: %s ", + "Problem deleting short keyid: %s " "(0x%016" PRIX64 ")", db_strerror(ret), keyid); @@ -984,7 +984,7 @@ static int db4_delete_key(uint64_t keyid, bool intrans) if (ret != 0) { logthing(LOGTHING_ERROR, - "Problem deleting short keyid: %s ", + "Problem deleting short keyid: %s " "(0x%016" PRIX64 ")", db_strerror(ret), keyid); @@ -1027,7 +1027,7 @@ static int db4_delete_key(uint64_t keyid, bool intrans) if (ret != 0) { logthing(LOGTHING_ERROR, - "Problem deleting skshash: %s ", + "Problem deleting skshash: %s " "(0x%016" PRIX64 ")", db_strerror(ret), keyid); -- 2.39.5