diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index fa533f855..6f56c6022 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -110,7 +110,7 @@ void dm_lib_init(void) __attribute__((format(printf, 5, 0))) static void _default_log_line(int level, const char *file __attribute__((unused)), - int line __attribute__((unused)), int dm_errno_or_class, + int line __attribute__((unused)), int dm_errno_or_class, const char *f, va_list ap) { static int _abort_on_internal_errors = -1; @@ -138,7 +138,7 @@ static void _default_log_line(int level, __attribute__((format(printf, 5, 6))) static void _default_log_with_errno(int level, const char *file __attribute__((unused)), - int line __attribute__((unused)), int dm_errno_or_class, + int line __attribute__((unused)), int dm_errno_or_class, const char *f, ...) { va_list ap;