get the size from surf->bos 99/92899/1
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 19 Oct 2016 09:00:27 +0000 (18:00 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 19 Oct 2016 09:00:27 +0000 (18:00 +0900)
Change-Id: I4c6223d2bd522ae5e720629dbdc20ad6f5ef651c

src/tbm_bufmgr.c

index 44f57f2..c752af0 100644 (file)
@@ -1531,7 +1531,7 @@ tbm_bufmgr_debug_show(tbm_bufmgr bufmgr)
                                TBM_DEBUG(" bo:%-12p  %-26d%-10d\n",
                                          surf->bos[i],
                                          surf->bos[i]->ref_cnt,
-                                         bufmgr->backend->bo_size(bo) / 1024);
+                                         bufmgr->backend->bo_size(surf->bos[i]) / 1024);
                        }
 
                        memset(app_name, 0x0, 255 * sizeof(char));