fixeria has submitted this change. (
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(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, approved
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
https://gerrit.osmocom.org/c/libosmocore/+/36829?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I84d305ce6cfc69352a64cb9e42229f88f09893c0
Gerrit-Change-Number: 36829
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged