mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
modules-load: use correct va_list logging function
This commit is contained in:
parent
dac051ad68
commit
e62abb6268
@ -41,7 +41,7 @@ static const char * const kmod_table[] = {
|
||||
static void systemd_kmod_log(void *data, int priority, const char *file, int line,
|
||||
const char *fn, const char *format, va_list args)
|
||||
{
|
||||
log_meta(priority, file, line, fn, format, args);
|
||||
log_metav(priority, file, line, fn, format, args);
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
@ -41,7 +41,7 @@ static char **arg_proc_cmdline_modules = NULL;
|
||||
static void systemd_kmod_log(void *data, int priority, const char *file, int line,
|
||||
const char *fn, const char *format, va_list args)
|
||||
{
|
||||
log_meta(priority, file, line, fn, format, args);
|
||||
log_metav(priority, file, line, fn, format, args);
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user