summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2011-05-26 20:32:33 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2011-05-26 20:32:33 +0000
commit3b6bd978f02eff2a9cefd5ba9fe03226d5c16108 (patch)
treed5b9cf0924b3d8701e25ae8fda241f12228731ee /libexec
parent94c389c61b5f4aa88c2fade72ddb3ea2fb17d451 (diff)
Notes
Diffstat (limited to 'libexec')
-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 8a39abdcd68d..17eabcb86733 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);