summaryrefslogtreecommitdiffstats
path: root/libexec/tftpd
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2011-05-26 20:32:33 +0000
committerrodrigc <rodrigc@FreeBSD.org>2011-05-26 20:32:33 +0000
commit4464f37eb72414620eae021e07b2177f6a6e7e9e (patch)
treed5b9cf0924b3d8701e25ae8fda241f12228731ee /libexec/tftpd
parentbf6c407dccf7d2dce4a43836723e15f6bc6d288c (diff)
downloadFreeBSD-src-4464f37eb72414620eae021e07b2177f6a6e7e9e.zip
FreeBSD-src-4464f37eb72414620eae021e07b2177f6a6e7e9e.tar.gz
Fix tftp_log() usage.
Diffstat (limited to 'libexec/tftpd')
-rw-r--r--libexec/tftpd/tftp-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/tftpd/tftp-io.c b/libexec/tftpd/tftp-io.c
index 8a39abd..17eabcb 100644
--- a/libexec/tftpd/tftp-io.c
+++ b/libexec/tftpd/tftp-io.c
@@ -262,7 +262,7 @@ send_rrq(int peer, char *filename, char *mode)
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);
OpenPOWER on IntegriCloud