summaryrefslogtreecommitdiffstats
path: root/common/miscellaneous.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/miscellaneous.c')
-rw-r--r--common/miscellaneous.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/common/miscellaneous.c b/common/miscellaneous.c
index 62ac05a84..0b374e6c8 100644
--- a/common/miscellaneous.c
+++ b/common/miscellaneous.c
@@ -45,14 +45,14 @@ my_gcry_logger (void *dummy, int level, const char *fmt, va_list arg_ptr)
/* Map the log levels. */
switch (level)
{
- case GCRY_LOG_CONT: level = GPGRT_LOG_CONT; break;
- case GCRY_LOG_INFO: level = GPGRT_LOG_INFO; break;
- case GCRY_LOG_WARN: level = GPGRT_LOG_WARN; break;
- case GCRY_LOG_ERROR:level = GPGRT_LOG_ERROR; break;
- case GCRY_LOG_FATAL:level = GPGRT_LOG_FATAL; break;
- case GCRY_LOG_BUG: level = GPGRT_LOG_BUG; break;
- case GCRY_LOG_DEBUG:level = GPGRT_LOG_DEBUG; break;
- default: level = GPGRT_LOG_ERROR; break;
+ case GCRY_LOG_CONT: level = GPGRT_LOGLVL_CONT; break;
+ case GCRY_LOG_INFO: level = GPGRT_LOGLVL_INFO; break;
+ case GCRY_LOG_WARN: level = GPGRT_LOGLVL_WARN; break;
+ case GCRY_LOG_ERROR:level = GPGRT_LOGLVL_ERROR; break;
+ case GCRY_LOG_FATAL:level = GPGRT_LOGLVL_FATAL; break;
+ case GCRY_LOG_BUG: level = GPGRT_LOGLVL_BUG; break;
+ case GCRY_LOG_DEBUG:level = GPGRT_LOGLVL_DEBUG; break;
+ default: level = GPGRT_LOGLVL_ERROR; break;
}
log_logv (level, fmt, arg_ptr);
}