The checksum should be inverted.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33536 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
dc33329747
commit
30580df348
@ -33,6 +33,7 @@ int main(int argc, char **argv)
|
||||
if (sum < old)
|
||||
sum++;
|
||||
}
|
||||
sum = ~sum;
|
||||
fprintf(stderr, "checksum: %lu\n", sum);
|
||||
// big endian
|
||||
((uint32_t *)bootblock)[1] = htonl(sum);
|
||||
|
Loading…
Reference in New Issue
Block a user