rem: printf("W: %8ld : %3d\n", bnum, num_blocks);
add: printf("W: %8Ld : %3d\n", bnum, num_blocks);
context: write_phys_blocks(int fd, fs_off_t bnum, void *data, uint num_blocks, int bsize){    size_t ret = 0;    size_t sum;    if (chatty_io)        printf("W: %8ld : %3d\n", bnum, num_blocks);    if (num_blocks * bsize < CHUNK)        ret = write_pos(fd, bnum * bsize, data, num_blocks * bsize);    else {        for(sum=0; (sum + CHUNK) <= (num_blocks * bsize); sum += CHUNK) {            ret = write_pos(fd, (bnum * bsize) + sum, data, CHUNK);            if (ret != CHUNK)                break;                    data = (void *)((char *)data + CHUNK);        }        if (ret == CHUNK && ((num_blocks * bsize) - sum) > 0) {            ret = write_pos(fd, (bnum * bsize) + sum, data,                            (num_blocks * bsize) - sum);            if (ret == (num_blocks * bsize) - sum)                ret = num_blocks * bsize;        } else if (ret == CHUNK) {            ret = num_blocks * bsize;        }    }    if (ret == num_blocks * bsize)        return 0;    else        return EBADF;}