fix printf format for commit 'osmo_sock_init(): include host and port in error messages'
Related: CID#143566
Change-Id: I75c542089749a0875d3d1913151fe838d7722ff2
diff --git a/src/socket.c b/src/socket.c
index a36aee7..19c513a 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -73,7 +73,7 @@
if ((flags & (OSMO_SOCK_F_BIND | OSMO_SOCK_F_CONNECT)) ==
(OSMO_SOCK_F_BIND | OSMO_SOCK_F_CONNECT)) {
fprintf(stderr, "invalid: both bind and connect flags set:"
- " %s:%u: %s\n", host, port);
+ " %s:%u\n", host, port);
return -EINVAL;
}