svn commit: r222326 - head/libexec/tftpd
Craig Rodrigues
rodrigc at FreeBSD.org
Thu May 26 20:32:33 UTC 2011
Author: rodrigc
Date: Thu May 26 20:32:33 2011
New Revision: 222326
URL: http://svn.freebsd.org/changeset/base/222326
Log:
Fix tftp_log() usage.
Modified:
head/libexec/tftpd/tftp-io.c
Modified: head/libexec/tftpd/tftp-io.c
==============================================================================
--- head/libexec/tftpd/tftp-io.c Thu May 26 20:31:08 2011 (r222325)
+++ head/libexec/tftpd/tftp-io.c Thu May 26 20:32:33 2011 (r222326)
@@ -262,7 +262,7 @@ send_rrq(int peer, char *filename, char
n = sendto(peer, buf, size, 0,
(struct sockaddr *)&peer_sock, peer_sock.ss_len);
if (n != size) {
- tftp_log(LOG_ERR, "send_rrq: %s", n, strerror(errno));
+ tftp_log(LOG_ERR, "send_rrq: %d %s", n, strerror(errno));
return (1);
}
return (0);
More information about the svn-src-head
mailing list