Fix crash with multiple files
authorCarl Henrik Lunde <chlunde@ping.uio.no>
Mon, 20 Apr 2009 06:41:37 +0000 (08:41 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 20 Apr 2009 06:41:37 +0000 (08:41 +0200)
commit4b341fca0dab0caa41d000e8db36f1530c26616f
tree468f26b936ec982137efe23623db9fc46469256a
parent6be0696b2b4c992c207fc226263e2726940fff75
Fix crash with multiple files

There's an off-by-one in add_file() when it calculates the size
for the file array.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
filesetup.c