XP/2003 compatability fix
authorBruce Cran <bruce@cran.org.uk>
Wed, 3 Oct 2012 17:46:46 +0000 (19:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Oct 2012 17:46:46 +0000 (19:46 +0200)
commit98dc2db5f11e6d597ca44aa6bf49f0dbd4397725
tree27c162562852cba8a0d95491d966f1fc12815bb9
parent27357187b0899380bae5c6748f2b2d034502e162
XP/2003 compatability fix

The attached patch fixes the bug that on XP fio fails with:

"The procedure entry point vsprintf_s could not be located in the
dynamic link library msvcrt.dll".

Only Vista and newer have the 'secure' functions, so we need to use
vsprintf to maintain compatibility with XP.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/windows/posix.c