diff options
author | ache <ache@FreeBSD.org> | 1994-02-10 01:20:28 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-02-10 01:20:28 +0000 |
commit | fd0d75862b476e4c07722caa0718ceed50d3c1aa (patch) | |
tree | fb008dd21dc3aec887edbe8bc0d8535ff82548d4 /usr.sbin/fdformat | |
parent | 2ac095726f087c9cec2cf3a601c69bfa46f77ac6 (diff) | |
download | FreeBSD-src-fd0d75862b476e4c07722caa0718ceed50d3c1aa.zip FreeBSD-src-fd0d75862b476e4c07722caa0718ceed50d3c1aa.tar.gz |
Fix size of il (interleave) array.
Diffstat (limited to 'usr.sbin/fdformat')
-rw-r--r-- | usr.sbin/fdformat/fdformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/fdformat/fdformat.c b/usr.sbin/fdformat/fdformat.c index dc8fba8..d0b7862 100644 --- a/usr.sbin/fdformat/fdformat.c +++ b/usr.sbin/fdformat/fdformat.c @@ -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++) { |