aboutsummaryrefslogtreecommitdiffstats
path: root/g10/tofu.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-12-11 09:37:30 +0000
committerWerner Koch <[email protected]>2017-12-11 09:42:23 +0000
commit34defc9bce91d66fa8c9481ebe6e78b612e570dc (patch)
treef6f3e7ac1d714f57f7299d92eb009f845f6d8897 /g10/tofu.c
parentdoc: Clarify C90 exceptions and add a new commit tag. (diff)
downloadgnupg-34defc9bce91d66fa8c9481ebe6e78b612e570dc.tar.gz
gnupg-34defc9bce91d66fa8c9481ebe6e78b612e570dc.zip
Adjust for changed macro names in libgpg-error master.
* common/logging.h (GPGRT_LOGLVL_): New replacement macros for older libgpg-error versions. -- Updates-commit: b56dfdfc1865ceb7c3c025d79996e049faee7fdf Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/tofu.c')
-rw-r--r--g10/tofu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/tofu.c b/g10/tofu.c
index e63e98932..8f729a2b2 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -3214,7 +3214,7 @@ show_statistics (tofu_dbs_t dbs,
*p = ' ';
}
- log_string (GPGRT_LOG_INFO, msg);
+ log_string (GPGRT_LOGLVL_INFO, msg);
xfree (msg);
if (policy == TOFU_POLICY_AUTO)
@@ -3279,7 +3279,7 @@ show_warning (const char *fingerprint, strlist_t user_id_list)
log_fatal ("format failed: %s\n",
gpg_strerror (gpg_error_from_syserror()));
xfree (tmpmsg);
- log_string (GPGRT_LOG_INFO, text);
+ log_string (GPGRT_LOGLVL_INFO, text);
xfree (text);
es_free (set_policy_command);