diff options
author | lsj119 <lsj119@samsung.com> | 2018-11-19 13:15:07 +0900 |
---|---|---|
committer | lsj119 <lsj119@samsung.com> | 2018-11-19 13:15:07 +0900 |
commit | 9a799f10bdfce06c29e22344b3e378a514353aff (patch) | |
tree | 5962ceb37f3faab7afff1f652677bb1ef98619cc | |
parent | e215b5402b3792f4edc91f3a5d48268beebbdbce (diff) | |
download | libtbm-shm-9a799f10bdfce06c29e22344b3e378a514353aff.tar.gz libtbm-shm-9a799f10bdfce06c29e22344b3e378a514353aff.tar.bz2 libtbm-shm-9a799f10bdfce06c29e22344b3e378a514353aff.zip |
Fix build warnings
Change-Id: I4e28ec3e28a6f6af14ada771ba27c85fb35ab9c9
-rw-r--r-- | src/tbm_bufmgr_shm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbm_bufmgr_shm.c b/src/tbm_bufmgr_shm.c index d43d38f..29c3f90 100644 --- a/src/tbm_bufmgr_shm.c +++ b/src/tbm_bufmgr_shm.c @@ -679,7 +679,7 @@ tbm_shm_bufmgr_import_fd(tbm_backend_bufmgr_data *bufmgr_data, tbm_fd key, tbm_e PROT_READ | PROT_WRITE, MAP_SHARED, key, 0); if (bo_shm->pBase == MAP_FAILED) { TBM_SHM_LOG("[libtbm-shm:%d] error %s:%d Fail to mmap (fd: %d, size:%d)\n", getpid(), __FUNCTION__, __LINE__, - bo_shm->fd, real_size, strerror(errno)); + bo_shm->fd, real_size); free(bo_shm); if (error) *error = TBM_ERROR_INVALID_OPERATION; @@ -690,7 +690,7 @@ tbm_shm_bufmgr_import_fd(tbm_backend_bufmgr_data *bufmgr_data, tbm_fd key, tbm_e bo_shm->fd = key; bo_shm->flags_tbm = TBM_BO_DEFAULT | TBM_BO_NONCACHABLE; - DBG(" [%s] bo:%p, shm:%d(%d), flags:%d, size:%d\n", target_name(), bo_shm, bo_shm->fd, + DBG(" [%s] bo:%p, shm:%d, flags:%d, size:%d\n", target_name(), bo_shm, bo_shm->fd, bo_shm->flags_tbm, bo_shm->size); if (error) *error = TBM_ERROR_NONE; |