From: Jonathan McDowell Date: Wed, 11 Apr 2012 05:11:32 +0000 (-0700) Subject: Fix deletion error logging for DB4 backend X-Git-Tag: onak-0.4.1~3 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=5911be914299d9af67b6a1eaedfdb2e044a369c6;p=onak.git 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. --- 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);