diff mbox series

[v1,1/2] linux-gen: odp_shm_print_all: print user len also in hex

Message ID 1535576407-32067-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v1,1/2] linux-gen: odp_shm_print_all: print user len also in hex | expand

Commit Message

Github ODP bot Aug. 29, 2018, 9 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


Original code prints len in hex and actual len in dec. That
is hard to compare. Print both lens in hexadecimal.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 686 (muvarov:devel/master_shm_print_all)
 ** https://github.com/Linaro/odp/pull/686
 ** Patch: https://github.com/Linaro/odp/pull/686.patch
 ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a
 ** Merge commit sha: f69e295240994a3f642957c1a78d208242d066dd
 **/
 platform/linux-generic/odp_ishm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/odp_ishm.c b/platform/linux-generic/odp_ishm.c
index fc2f948cc..131dd7057 100644
--- a/platform/linux-generic/odp_ishm.c
+++ b/platform/linux-generic/odp_ishm.c
@@ -1780,7 +1780,7 @@  int _odp_ishm_status(const char *title)
 			huge = '?';
 		}
 		proc_index = procfind_block(i);
-		ODP_PRINT("%2i  %-*s %s%c  0x%-08lx %-8lu %-3lu %-3lu",
+		ODP_PRINT("%2i  %-*s %s%c  0x%-08lx 0x%-08lx %-3lu %-3lu",
 			  i, max_name_len, ishm_tbl->block[i].name,
 			  flags, huge,
 			  ishm_tbl->block[i].len,