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
This commit is contained in:
Sean Bruno 2013-01-30 01:36:04 +00:00
parent 64dc091fdd
commit 663a6522a7

View File

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