[Cluster-devel] [PATCH 28/41] qdisk: fix scandisk eval check
Fabio M. Di Nitto
fdinitto at redhat.com
Wed Nov 23 10:15:47 UTC 2011
Spotted by Coverity Scan
Signed-off-by: Fabio M. Di Nitto <fdinitto at 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
More information about the Cluster-devel
mailing list