From 3d4219014ae5f5a6553423994ff5ccd1d490a6fc Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 19 Nov 2018 10:54:26 -0600 Subject: Eduardas Meile reported "The -Werror=format-security flag is applied by default in Yocto 2.6 Thud release" and identified several error_exit() and friends that should use the _raw versions. --- toys/pending/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/pending/tftp.c') diff --git a/toys/pending/tftp.c b/toys/pending/tftp.c index 30ebe81c..1e32fdf4 100644 --- a/toys/pending/tftp.c +++ b/toys/pending/tftp.c @@ -328,7 +328,7 @@ static int file_get(void) TFTP_ES_UNKID, TFTP_ES_EXISTS, TFTP_ES_UNKUSER, TFTP_ES_NEGOTIATE}; if (rblockno && (rblockno < 9)) message = arr[rblockno - 1]; - error_msg(message); + error_msg_raw(message); } else if (blockno == 1 && opcode == TFTP_OP_OACK) { len = mkpkt_ack(packet, 0); -- cgit v1.2.3