]> sourceware.org Git - lvm2.git/commitdiff
Fix dmeventd _temporary_log_fn parameters. (2.02.50)
authorAlasdair Kergon <agk@redhat.com>
Thu, 17 Sep 2009 10:37:23 +0000 (10:37 +0000)
committerAlasdair Kergon <agk@redhat.com>
Thu, 17 Sep 2009 10:37:23 +0000 (10:37 +0000)
WHATS_NEW
daemons/dmeventd/plugins/mirror/dmeventd_mirror.c
daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c

index 950962b405df999657c14d13f2c6413ffb118d74..97c5d8231f4ea8da1c6199575ff7906bfdca90e9 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.53 - 
 =====================================
+  Fix dmeventd _temporary_log_fn parameters. (2.02.50)
   Enable dmeventd monitoring section of config file by default.
   Update lvm2 monitoring script to lvm2_monitoring_init_red_hat.in.
   Fix lvm2app test to run under test/api subdirectory only when configured.
index 8869e8006c44ad60b46cbfdce67edd91ed347b8e..503ec0deb5bc19af619032033276a093648c63a9 100644 (file)
@@ -126,8 +126,10 @@ out_parse:
        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 dm_errno __attribute((unused)),
                              const char *format)
 {
        if (!strncmp(format, "WARNING: ", 9) && (level < 5))
index 3e250af279c721afee0007630cab11ae3f16cefc..96c4688fed5f84a1680462c2247393b4e631860b 100644 (file)
@@ -57,6 +57,7 @@ static pthread_mutex_t _event_mutex = PTHREAD_MUTEX_INITIALIZER;
 static void _temporary_log_fn(int level,
                              const char *file __attribute((unused)),
                              int line __attribute((unused)),
+                             int dm_errno __attribute((unused)),
                              const char *format)
 {
        if (!strncmp(format, "WARNING: ", 9) && (level < 5))
This page took 0.04838 seconds and 5 git commands to generate.