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:
Oliver Smith 2020-05-11 11:45:12 +02:00
parent 1cdac78eb0
commit 8c570c8cb0
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ int socket_read(struct osmo_fd *bfd, unsigned int flags)
}
msgb_put(msg, rc);
printf("Recv data\n");
printf(msgb_hexdump(msg));
printf("%s", msgb_hexdump(msg));
printf("\n");
msgb_free(msg);