diff --git a/raid/check.c b/raid/check.c index 4f98713f..8c0e290f 100644 --- a/raid/check.c +++ b/raid/check.c @@ -11,7 +11,7 @@ * This function checks if the specified failed blocks satisfy the redundancy * information using the data from the known valid parity blocks. * - * It's similar at raid_check(), just with a different format for arguments. + * It's similar to raid_check(), just with a different format for arguments. * * The number of failed blocks @nr must be strictly less than the number of * parities @nv, because you need one more parity to validate the recovering. @@ -25,7 +25,7 @@ * @ip[] Vector of @nv indexes of the valid parity blocks. * The indexes start from 0. They must be in order. * @nd Number of data blocks. - * @size Size of the blocks pointed by @v. It must be a multiplier of 64. + * @size Size of the blocks pointed by @v. It must be a multiple of 64. * @v Vector of pointers to the blocks of data and parity. * It has (@nd + @ip[@nv - 1] + 1) elements. The starting elements are the * blocks for data, following with the parity blocks. diff --git a/raid/combo.h b/raid/combo.h index 767dfb66..79359781 100644 --- a/raid/combo.h +++ b/raid/combo.h @@ -9,7 +9,7 @@ /** * Get the first permutation with repetition of r of n elements. * - * Typical use is with permutation_next() in the form : + * Typical use is with permutation_next() in the form: * * int i[R]; * permutation_first(R, N, i); @@ -17,7 +17,7 @@ * code using i[0], i[1], ..., i[R-1] * } while (permutation_next(R, N, i)); * - * It's equivalent at the code : + * It's equivalent to the code: * * for(i[0]=0;i[0]