# HG changeset patch # User Florian Pose # Date 1157041755 0 # Node ID beb26409ba2202144638062903324ea38c6a232b # Parent 3f79f0637c60b25f47c07bf4c59c00ddf01ec93f Fixed bug in data pointer calculation. diff -r 3f79f0637c60 -r beb26409ba22 master/domain.c --- a/master/domain.c Tue Aug 29 16:17:31 2006 +0000 +++ b/master/domain.c Thu Aug 31 16:29:15 2006 +0000 @@ -193,7 +193,7 @@ list_for_each_entry(other_pdo, &slave->sii_pdos, list) { if (other_pdo->sync_index != sync->index) continue; - list_for_each_entry(other_entry, &pdo->entries, list) { + list_for_each_entry(other_entry, &other_pdo->entries, list) { if (other_entry == entry) { byte_offset = bit_offset / 8; break;