display: add result check routine for getting the number of display 70/59970/1
authorTaeyoung Kim <ty317.kim@samsung.com>
Mon, 22 Feb 2016 02:21:09 +0000 (11:21 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Mon, 22 Feb 2016 02:21:09 +0000 (11:21 +0900)
commitb28e031e64517b294558ca696ad03e35bf5eedd0
tree546cff3e35c8d5cef6b1fff939e1c4cb5a4d2787
parent6ec8ce48cd662f01b7e32635ceb59979439e77a9
display: add result check routine for getting the number of display

- Previously, the return value check routine for getting
  the number of display was skipped. Thus the return value
  was not correct even if permission error is occurred

- Now, The return value check routine is added and thus
  the return value is correct.

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