Skip to content

Commit 78aa6fd

Browse files
committed
btl/uct: fix a warning
Use the PRIsize_t macro to correctly print a size_t Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
1 parent 9007819 commit 78aa6fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/btl/uct/btl_uct_tl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ int mca_btl_uct_process_connection_request (mca_btl_uct_module_t *module, mca_bt
223223

224224
/* to avoid a race with send adding pending frags grab the lock here */
225225
OPAL_THREAD_SCOPED_LOCK(&endpoint->ep_lock,{
226-
BTL_VERBOSE(("connection ready. sending %d frags", opal_list_get_size (&module->pending_frags)));
226+
BTL_VERBOSE(("connection ready. sending %" PRIsize_t " frags", opal_list_get_size (&module->pending_frags)));
227227
(void) opal_atomic_or_fetch_32 (&tl_endpoint->flags, MCA_BTL_UCT_ENDPOINT_FLAG_CONN_READY);
228228
opal_atomic_wmb ();
229229

0 commit comments

Comments
 (0)