diff options
author | sbruno <sbruno@FreeBSD.org> | 2013-01-30 01:36:04 +0000 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2013-01-30 01:36:04 +0000 |
commit | 4a8d6a5695da92c747161660a417dd68846f21fa (patch) | |
tree | d008ce2983a18cdcb9659ba513ad8e83cae8cb28 | |
parent | 1a89a21cbd61e82e4c1a20a42cb30342e26ef1a6 (diff) | |
download | FreeBSD-src-4a8d6a5695da92c747161660a417dd68846f21fa.zip FreeBSD-src-4a8d6a5695da92c747161660a417dd68846f21fa.tar.gz |
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
-rw-r--r-- | libexec/tftpd/tftp-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/tftpd/tftp-io.c b/libexec/tftpd/tftp-io.c index 1d4f743..eaf4f39 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"); |