diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/stand/installboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc/stand/installboot.c b/sys/arch/sparc/stand/installboot.c index 74912114fba..3c5cb36e993 100644 --- a/sys/arch/sparc/stand/installboot.c +++ b/sys/arch/sparc/stand/installboot.c @@ -359,7 +359,7 @@ int devfd; int i; *block_size_p = 512; - *block_count_p = (isofseblk - isofsblk) * (2048/512); + *block_count_p = (isofseblk - isofsblk + 1) * (2048/512); if (*block_count_p > max_block_count) errx(1, "%s: Too many blocks", boot); if (verbose) |