swap: change the return value to ERROR_NONE in case that swap is off 79/22179/1
authorTaeyoung Kim <ty317.kim@samsung.com>
Thu, 29 May 2014 13:26:20 +0000 (22:26 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Thu, 29 May 2014 13:28:49 +0000 (22:28 +0900)
commit8d7be4d024eea5ec1696a4d3a93d96ad552e308a
tree88a8dd05a4f63b3025b83ea39483086679caf21b
parent1e542dfb4a8850776bb21e791214bbe84e10c46c
swap: change the return value to ERROR_NONE in case that swap is off

- When swap is off, the swap module cannot be found.
  This is normal operation, and the return value
  should be changed from ERROR_FAIL to ERROR_NONE.

Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Change-Id: Id8490ce0669408519b32373e057330b27a237617
src/common/swap-common.c