FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 11-23-2011, 09:15 AM
"Fabio M. Di Nitto"
 
Default qdisk: fix scandisk eval check

Spotted by Coverity Scan

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
:100644 100644 6bbf311... e962f74... M cman/qdisk/scandisk.c
cman/qdisk/scandisk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/qdisk/scandisk.c b/cman/qdisk/scandisk.c
index 6bbf311..e962f74 100644
--- a/cman/qdisk/scandisk.c
+++ b/cman/qdisk/scandisk.c
@@ -224,7 +224,7 @@ static int lsdev(struct devlisthead *devlisthead, const char *path)

if (dev_is_block(&sb, newpath))
if (!add_lsdev_block
- (devlisthead, &sb, newpath) < 0)
+ (devlisthead, &sb, newpath))
return -2;
}
}
--
1.7.4.4
 

Thread Tools




All times are GMT. The time now is 07:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org