IPACM: Fix a check of mmap call

When opening a NAT table, IPACM requests to mmap the nat device.
The failure check needs to be against MAP_FAILED and not against
NULL as a return value from mmap.

Change-Id: If8f3553c8ebb08b525d77c1ec4644bd9ee829d54
Acked-by: David Arinzon <darinzon@qti.qualcomm.com>
1 file changed
tree: aad178ed1cd0dfafffdfbcf70cb1fe5393bb4b56
  1. ipacm/
  2. ipanat/
  3. configure.ac
  4. Makefile.am