aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/fdformat
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-02-10 01:20:28 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-02-10 01:20:28 +0000
commitd4ef5cfd2eec83b91ba8d6f25d40a40c89477114 (patch)
treefb008dd21dc3aec887edbe8bc0d8535ff82548d4 /usr.sbin/fdformat
parentbef69b45a79f3781306f298620269c42efd3ea82 (diff)
downloadsrc-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.c2
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++) {