Windows: fix sysconf(_SC_PHYS_PAGES).
authorBruce Cran <bruce@cran.org.uk>
Wed, 6 Feb 2013 20:27:27 +0000 (20:27 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Feb 2013 06:22:00 +0000 (07:22 +0100)
commit01d269552bca14c90bdcc2288e64ba2426c045ea
treec43c457ffdc72b124fc788801c4f7af8e9a23326
parente254d00ba9dfcdf26e6a8fedd2339c16f5a616f7
Windows: fix sysconf(_SC_PHYS_PAGES).

sysconf(_SC_PHYS_PAGES) was returning the number of bytes of memory
instead of the number of pages. Also improve some error messages in
sysconf(). Update os_phys_mem() to use sysconf().

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