From 663a6522a75d9f87cf1dbab74d715cd96e51c6b0 Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Wed, 30 Jan 2013 01:36:04 +0000 Subject: [PATCH] Remove extra %s from debug statement that ends up crashing tftpd if debug is set very high (like -d15 in my case). Obtained from: Yahoo! Inc MFC after: 2 weeks --- libexec/tftpd/tftp-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/tftpd/tftp-io.c b/libexec/tftpd/tftp-io.c index 1d4f743a4359..eaf4f39295b4 100644 --- a/libexec/tftpd/tftp-io.c +++ b/libexec/tftpd/tftp-io.c @@ -142,7 +142,7 @@ send_error(int peer, int error) char buf[MAXPKTSIZE]; if (debug&DEBUG_PACKETS) - tftp_log(LOG_DEBUG, "Sending ERROR %d: %s", error); + tftp_log(LOG_DEBUG, "Sending ERROR %d", error); DROPPACKET("send_error");