commit | 01d269552bca14c90bdcc2288e64ba2426c045ea | [log] [tgz] |
---|---|---|
author | Bruce Cran <bruce@cran.org.uk> | Wed Feb 06 20:27:27 2013 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 07 07:22:00 2013 +0100 |
tree | c43c457ffdc72b124fc788801c4f7af8e9a23326 | |
parent | e254d00ba9dfcdf26e6a8fedd2339c16f5a616f7 [diff] |
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>