mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Fix dmeventd _temporary_log_fn parameters. (2.02.50)
This commit is contained in:
parent
d9be54adb3
commit
cf8ee443e5
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.53 -
|
Version 2.02.53 -
|
||||||
=====================================
|
=====================================
|
||||||
|
Fix dmeventd _temporary_log_fn parameters. (2.02.50)
|
||||||
Enable dmeventd monitoring section of config file by default.
|
Enable dmeventd monitoring section of config file by default.
|
||||||
Update lvm2 monitoring script to lvm2_monitoring_init_red_hat.in.
|
Update lvm2 monitoring script to lvm2_monitoring_init_red_hat.in.
|
||||||
Fix lvm2app test to run under test/api subdirectory only when configured.
|
Fix lvm2app test to run under test/api subdirectory only when configured.
|
||||||
|
@ -126,8 +126,10 @@ out_parse:
|
|||||||
return ME_IGNORE;
|
return ME_IGNORE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _temporary_log_fn(int level, const char *file __attribute((unused)),
|
static void _temporary_log_fn(int level,
|
||||||
|
const char *file __attribute((unused)),
|
||||||
int line __attribute((unused)),
|
int line __attribute((unused)),
|
||||||
|
int dm_errno __attribute((unused)),
|
||||||
const char *format)
|
const char *format)
|
||||||
{
|
{
|
||||||
if (!strncmp(format, "WARNING: ", 9) && (level < 5))
|
if (!strncmp(format, "WARNING: ", 9) && (level < 5))
|
||||||
|
@ -57,6 +57,7 @@ static pthread_mutex_t _event_mutex = PTHREAD_MUTEX_INITIALIZER;
|
|||||||
static void _temporary_log_fn(int level,
|
static void _temporary_log_fn(int level,
|
||||||
const char *file __attribute((unused)),
|
const char *file __attribute((unused)),
|
||||||
int line __attribute((unused)),
|
int line __attribute((unused)),
|
||||||
|
int dm_errno __attribute((unused)),
|
||||||
const char *format)
|
const char *format)
|
||||||
{
|
{
|
||||||
if (!strncmp(format, "WARNING: ", 9) && (level < 5))
|
if (!strncmp(format, "WARNING: ", 9) && (level < 5))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user