src/test_connect.c: fix compile with Werror
test_connect.c:50:2: error: format not a string literal and no format arguments [-Werror=format-security] printf(msgb_hexdump(msg)); ^~~~~~ Change-Id: Ie0104649104ff31e180c05993e707c6629ddbf83
This commit is contained in:
parent
1cdac78eb0
commit
8c570c8cb0
|
@ -47,7 +47,7 @@ int socket_read(struct osmo_fd *bfd, unsigned int flags)
|
||||||
}
|
}
|
||||||
msgb_put(msg, rc);
|
msgb_put(msg, rc);
|
||||||
printf("Recv data\n");
|
printf("Recv data\n");
|
||||||
printf(msgb_hexdump(msg));
|
printf("%s", msgb_hexdump(msg));
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
msgb_free(msg);
|
msgb_free(msg);
|
||||||
|
|
Loading…
Reference in New Issue