diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-05-21 09:18:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-05-21 09:18:32 +0000 |
commit | 14e6b76930af1bec16e8197b677ee69b034bb9f6 (patch) | |
tree | 412973d923ff0e66da113d76752e8696b6a9e9de /sys/arch | |
parent | 160da19ee001e584cd14b5248ff600ff7dce1fc3 (diff) |
off by one; millert
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) |