diff --git a/raid.c b/raid.c index 84bd8ea5..c65eade2 100644 --- a/raid.c +++ b/raid.c @@ -1878,10 +1878,10 @@ static inline const unsigned char* table(unsigned char v) * This is the parity expressed as Pa,Qa,Ra,Sa,Ta,Ua * in the equations. * - * Note that all the other parities not in the e[] vector + * Note that all the other parities not in the c[] vector * are destroyed. */ -static void raid_delta_gen(unsigned level, const int* d, const int* e, unsigned char** vbuf, unsigned data, unsigned char* zero, unsigned size) +static void raid_delta_gen(unsigned level, const int* d, const int* c, unsigned char** vbuf, unsigned data, unsigned char* zero, unsigned size) { unsigned char* p[6]; unsigned char* pa[6]; @@ -1891,7 +1891,7 @@ static void raid_delta_gen(unsigned level, const int* d, const int* e, unsigned for(i=0;i