Author: sbruno
Date: Wed Jan 30 01:36:04 2013
New Revision: 246106
URL: http://svnweb.freebsd.org/changeset/base/246106
Log:
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
Modified:
head/libexec/tftpd/tftp-io.c
Modified: head/libexec/tftpd/tftp-io.c
==============================================================================
--- head/libexec/tftpd/tftp-io.c Wed Jan 30 01:30:06 2013
(r246105)
+++ head/libexec/tftpd/tftp-io.c Wed Jan 30 01:36:04 2013
(r246106)
@@ -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");
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"