hugepages: check for error if readdir returns NULL
authorKim Jones <kim-marie.jones@intel.com>
Wed, 17 Aug 2016 09:08:27 +0000 (10:08 +0100)
committerKim Jones <kim-marie.jones@intel.com>
Wed, 17 Aug 2016 12:30:57 +0000 (13:30 +0100)
commit51b24f4c2a15f3f97c2989a36be82e18843b449c
tree3421d72a3aa8fccfc260debb2463fec2f0761cb9
parentc4413ca9cec4a16b12c2dbdfde5b821a35de5e0e
hugepages: check for error if readdir returns NULL

Change-Id: Ib361b648407c7052218c1f6b9b624cb7aa799634
Signed-off-by: Kim Jones <kim-marie.jones@intel.com>
src/hugepages.c