fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/36829?usp=email )
Change subject: core: fix LOGPIO(): add missing space after 'iofd(...)' ......................................................................
core: fix LOGPIO(): add missing space after 'iofd(...)'
Without a space the logging looks like this:
iofd(virt-rnc0-0)Cancelling read
Change-Id: I84d305ce6cfc69352a64cb9e42229f88f09893c0 --- M include/osmocom/core/osmo_io.h 1 file changed, 14 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/29/36829/1
diff --git a/include/osmocom/core/osmo_io.h b/include/osmocom/core/osmo_io.h index 6f4dfa8..fa1f9c3 100644 --- a/include/osmocom/core/osmo_io.h +++ b/include/osmocom/core/osmo_io.h @@ -55,7 +55,7 @@ * \param[in] args arguments to the format string */ #define LOGPIO(iofd, level, fmt, args...) \ - LOGP(DLIO, level, "iofd(%s)" fmt, iofd->name, ## args) + LOGP(DLIO, level, "iofd(%s) " fmt, iofd->name, ## args)
struct osmo_io_fd;