mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-23 01:29:34 +00:00
base is given using block size of 2048 (ISO9660), but SCSI uses block size of 512, so base is multiplicated by 4
This commit is contained in:
parent
916b8de203
commit
b0838c149a
@ -60,7 +60,7 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (get_info) {
|
||||
printf("%d %d\n", file->base, file->size);
|
||||
printf("%d %d\n", file->base * 4, file->size);
|
||||
} else {
|
||||
while((size = iso9660_read(file, buffer, 512)) > 0)
|
||||
write(STDOUT_FILENO, buffer, size);
|
||||
|
Loading…
Reference in New Issue
Block a user