mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Fix size of il (interleave) array.
This commit is contained in:
parent
bef69b45a7
commit
d4ef5cfd2e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1138
@ -55,7 +55,7 @@ format_track(int fd, int cyl, int secs, int head, int rate,
|
||||
{
|
||||
struct fd_formb f;
|
||||
register int i,j;
|
||||
int il[FD_MAX_NSEC];
|
||||
int il[FD_MAX_NSEC + 1];
|
||||
|
||||
memset(il,0,sizeof il);
|
||||
for(j = 0, i = 1; i <= secs; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user