fixeria submitted this change.
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(-)
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;
To view, visit change 36829. To unsubscribe, or for help writing mail filters, visit settings.