From 99df71a91424ad7c4aaaf97e4fc62f8926bc2e06 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Fri, 5 Mar 2021 10:36:11 +0100 Subject: [PATCH] rf_zmq: make error message when port bind failed more verbose --- lib/src/phy/rf/rf_zmq_imp_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/rf/rf_zmq_imp_tx.c b/lib/src/phy/rf/rf_zmq_imp_tx.c index 2ebd76eaa..106c7f579 100644 --- a/lib/src/phy/rf/rf_zmq_imp_tx.c +++ b/lib/src/phy/rf/rf_zmq_imp_tx.c @@ -45,7 +45,7 @@ int rf_zmq_tx_open(rf_zmq_tx_t* q, rf_zmq_opts_t opts, void* zmq_ctx, char* sock ret = zmq_bind(q->sock, sock_args); if (ret) { - fprintf(stderr, "Error: connecting transmitter socket: %s\n", zmq_strerror(zmq_errno())); + fprintf(stderr, "Error: binding transmitter socket (%s): %s\n", sock_args, zmq_strerror(zmq_errno())); goto clean_exit; }