Date: Thu, 26 May 2011 20:32:33 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222326 - head/libexec/tftpd Message-ID: <201105262032.p4QKWXxs079791@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105262032.p4QKWXxs079791>