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
changes/98/18198/1
Oliver Smith 3 years ago
parent 1cdac78eb0
commit 8c570c8cb0
  1. 2
      src/test_connect.c

@ -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);

Loading…
Cancel
Save