mmap: set 'fd' to -1
authorJens Axboe <axboe@fb.com>
Thu, 30 Oct 2014 14:40:47 +0000 (08:40 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 30 Oct 2014 14:40:47 +0000 (08:40 -0600)
commit4a995ddae8b12d20efc2367ad4e1c9b159f96eed
tree43dbcb86cf09cc5c961e43d812159f5dc47468e6
parenta1f871c72971efe84cd42670d5df4c4dc56dbd3f
mmap: set 'fd' to -1

This looks like a typo, using '1' makes no sense. This fixes Solaris
anon allocs.

Reported-by: Sébastien Bouchex Bellomié <sbouchex@infovista.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
memory.c