Revision c088b691 block/vpc.c

b/block/vpc.c
189 189
        fprintf(stderr, "block-vpc: The header checksum of '%s' is "
190 190
            "incorrect.\n", bs->filename);
191 191

  
192
    /* Write 'checksum' back to footer, or else will leave it with zero. */
193
    footer->checksum = be32_to_cpu(checksum);
194

  
192 195
    // The visible size of a image in Virtual PC depends on the geometry
193 196
    // rather than on the size stored in the footer (the size in the footer
194 197
    // is too large usually)

Also available in: Unified diff