Make comment about 'source offset' explicit

This commit is contained in:
Zdenek Styblik 2014-04-26 14:43:30 +02:00
parent 166ae1da23
commit eeeb973e39

View File

@ -4782,7 +4782,7 @@ f_type, uint8_t f_index, char *f_string)
checksum = (~checksum) + 1; checksum = (~checksum) + 1;
fru_data[header_offset + fru_section_len - 1] = checksum; fru_data[header_offset + fru_section_len - 1] = checksum;
/* Write the updated section to the FRU data; source offset: */ /* Write the updated section to the FRU data; source offset => 0 */
if( write_fru_area(intf, &fru, fruId, 0, if( write_fru_area(intf, &fru, fruId, 0,
header_offset, fru_section_len, fru_data) < 0 ) header_offset, fru_section_len, fru_data) < 0 )
{ {