]> sourceware.org Git - lvm2.git/commitdiff
Fix identifier 'error_message_produced' used ambiguously.
authorDave Wysochanski <dwysocha@redhat.com>
Tue, 17 Jun 2008 14:14:00 +0000 (14:14 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Tue, 17 Jun 2008 14:14:00 +0000 (14:14 +0000)
Related compiler warning:
log/log.c:242: warning: declaration of 'error_message_produced' shadows a global declaration
../include/log.h:98: warning: shadowed declaration is here

WHATS_NEW
lib/log/log.c

index f8d1d64a4982b5fe444b221e69cc6b9bd0d22068..e49992cb4e0725abbca939eb1002cf35ea38a725 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.39 -
 ================================
+  Fix ambiguous use of identifier 'error_message_produced'.
   Begin syncing configure.in for merge/unification with device-mapper.
   Fix add_mirror_images not to dereference uninitialized log_lv upon failure.
   Don't call openlog for every debug line output by clvmd.
index e8806619e967b791880245149642b3f233b8779e..78686817015a78d0802509f0428be486ef416824 100644 (file)
@@ -239,9 +239,9 @@ void init_indent(int indent)
        _indent = indent;
 }
 
-void init_error_message_produced(int error_message_produced)
+void init_error_message_produced(int value)
 {
-       _error_message_produced = error_message_produced;
+       _error_message_produced = value;
 }
 
 int error_message_produced(void)
This page took 0.044208 seconds and 5 git commands to generate.