fix error return value 45/90845/1 accepted/tizen/3.0/ivi/20161011.050714 accepted/tizen/3.0/mobile/20161015.033841 accepted/tizen/3.0/tv/20161016.005058 accepted/tizen/3.0/wearable/20161015.083311 accepted/tizen/common/20161004.194307 accepted/tizen/ivi/20161005.120117 accepted/tizen/mobile/20161005.120013 accepted/tizen/tv/20161005.120038 accepted/tizen/wearable/20161005.120059 submit/tizen/20161004.080631 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 4 Oct 2016 11:12:39 +0000 (20:12 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Tue, 4 Oct 2016 11:12:45 +0000 (20:12 +0900)
Change-Id: Ic59614bb26531f6cb1cdd16f83ec59a589c0e79f

src/tbm_bufmgr.c

index 17f45d6..c26bf69 100644 (file)
@@ -1069,7 +1069,7 @@ tbm_bo_export_fd(tbm_bo bo)
 
        if (!bufmgr->backend->bo_export_fd) {
                _tbm_bufmgr_mutex_unlock();
-               return 0;
+               return -1;
        }
 
        ret = bufmgr->backend->bo_export_fd(bo);