of res->end-res->start to resource_size(), missed by the last patch to change this. Signed-off-by: Ben Dooks or~ò˜7x