From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14147 invoked by alias); 6 Jan 2011 09:45:06 -0000 Received: (qmail 14129 invoked by uid 9737); 6 Jan 2011 09:45:06 -0000 Date: Thu, 06 Jan 2011 09:45:00 -0000 Message-ID: <20110106094506.14126.qmail@sourceware.org> From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/daemons/dmeventd libdevmapper-event.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: 2011-01/txt/msg00024.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: zkabelac@sourceware.org 2011-01-06 09:45:05 Modified files: daemons/dmeventd: libdevmapper-event.c Log message: Remove unneeded stack prints after log_error Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/libdevmapper-event.c.diff?cvsroot=lvm2&r1=1.37&r2=1.38 --- LVM2/daemons/dmeventd/libdevmapper-event.c 2010/12/22 15:28:44 1.37 +++ LVM2/daemons/dmeventd/libdevmapper-event.c 2011/01/06 09:45:05 1.38 @@ -432,7 +432,6 @@ log_error("%s: Can't open client fifo %s: %s", __func__, fifos->client_path, strerror(errno)); - stack; return 0; } @@ -441,7 +440,7 @@ if (!strncmp(DMEVENTD_PATH, "/", 1) && stat(DMEVENTD_PATH, &statbuf)) { log_error("Unable to find dmeventd."); - return_0; + return 0; } pid = fork(); @@ -479,7 +478,6 @@ if ((fifos->server = open(fifos->server_path, O_RDWR)) < 0) { log_error("%s: open server fifo %s", __func__, fifos->server_path); - stack; return 0; } @@ -495,7 +493,6 @@ log_error("%s: Can't open client fifo %s: %s", __func__, fifos->client_path, strerror(errno)); close(fifos->server); - stack; return 0; }