summaryrefslogtreecommitdiffstats
path: root/g10/tdbdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/tdbdump.c')
-rw-r--r--g10/tdbdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/tdbdump.c b/g10/tdbdump.c
index 37bf78b80..73a6c2c57 100644
--- a/g10/tdbdump.c
+++ b/g10/tdbdump.c
@@ -191,7 +191,7 @@ import_ownertrust (ctrl_t ctrl, const char *fname )
while (fprlen < MAX_FINGERPRINT_LEN)
fpr[fprlen++] = 0;
- rc = tdbio_search_trust_byfpr (fpr, &rec);
+ rc = tdbio_search_trust_byfpr (ctrl, fpr, &rec);
if( !rc ) { /* found: update */
if (rec.r.trust.ownertrust != otrust)
{