This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d153f934 apps: Fix x64 native btshell build
6d153f934 is described below

commit 6d153f934af134bcf69436335d29be3e2dba5b79
Author: Michal Gorecki <[email protected]>
AuthorDate: Tue Apr 9 15:08:10 2024 +0200

    apps: Fix x64 native btshell build
---
 apps/btshell/src/cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/btshell/src/cmd.c b/apps/btshell/src/cmd.c
index 4c00d7ba3..50aac7940 100644
--- a/apps/btshell/src/cmd.c
+++ b/apps/btshell/src/cmd.c
@@ -2447,7 +2447,7 @@ cmd_keystore_iterator(int obj_type,
             console_printf("Key: ");
             if (ble_addr_cmp(&val->sec.peer_addr, BLE_ADDR_ANY) == 0) {
                 console_printf("ediv=%u ", val->sec.ediv);
-                console_printf("ediv=%llu ", val->sec.rand_num);
+                console_printf("rand=%" PRIu64, val->sec.rand_num);
             } else {
                 console_printf("addr_type=%u ", val->sec.peer_addr.type);
                 print_addr(val->sec.peer_addr.val);

Reply via email to