Spotted by Coverity Scan Signed-off-by: Fabio M. Di Nitto <fdini...@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