Fixes some minor code issues found with coverity scan.

This commit is contained in:
Andrea Mazzoleni 2014-05-09 22:07:07 +02:00
parent 8c8b370d4c
commit 23060095c9
4 changed files with 6 additions and 5 deletions

View file

@ -281,7 +281,7 @@ int raid_test_par(int mode, int nd, size_t size)
/* check memory */
if (raid_mtest_vector(nv, size, v) != 0)
return -1;
goto bail;
/* fill with random */
raid_mrand_vector(nv, size, v);