From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4448 invoked by alias); 27 Feb 2012 11:31:31 -0000 Received: (qmail 4431 invoked by uid 9737); 27 Feb 2012 11:31:31 -0000 Date: Mon, 27 Feb 2012 11:31:00 -0000 Message-ID: <20120227113131.4429.qmail@sourceware.org> From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/lib/log log.c Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00203.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2012-02-27 11:31:31 Modified files: lib/log : log.c Log message: Explicitely ignore fail error on hash_insert We cannot do anything better here anyway - we are already in logging function, so just ignore this issue here - it will most likely stop application later. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/log/log.c.diff?cvsroot=lvm2&r1=1.68&r2=1.69 --- LVM2/lib/log/log.c 2012/02/08 11:31:29 1.68 +++ LVM2/lib/log/log.c 2012/02/27 11:31:30 1.69 @@ -262,7 +262,7 @@ if (_duplicated) { if (dm_hash_lookup(_duplicated, message)) level = _LOG_NOTICE; - dm_hash_insert(_duplicated, message, (void*)1); + (void) dm_hash_insert(_duplicated, message, (void*)1); } }