numam-spdk/app/iscsi_top
Pawel Wodkowski 35aefc9e84 app,lib: fix checking mmap return value
Some places use NULL to check for mmap failure but mmap return
MAP_FAILED in this case.

Change-Id: I4796fa52421da53c94223a9e8cc26ac04968f1d8
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/405648
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
2018-03-30 16:18:34 -04:00
..
.gitignore iscsi: add 'iscsi_top' monitoring app 2016-08-24 09:10:44 -07:00
iscsi_top.cpp app,lib: fix checking mmap return value 2018-03-30 16:18:34 -04:00
Makefile build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00