diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-02-10 01:20:28 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-02-10 01:20:28 +0000 |
commit | d4ef5cfd2eec83b91ba8d6f25d40a40c89477114 (patch) | |
tree | fb008dd21dc3aec887edbe8bc0d8535ff82548d4 /usr.sbin/fdformat | |
parent | bef69b45a79f3781306f298620269c42efd3ea82 (diff) | |
download | src-d4ef5cfd2eec83b91ba8d6f25d40a40c89477114.tar.gz src-d4ef5cfd2eec83b91ba8d6f25d40a40c89477114.zip |
Fix size of il (interleave) array.
Notes
Notes:
svn path=/head/; revision=1138
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 dc8fba87ff04..d0b786280cb0 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++) { |