summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-27 06:01:05 +0000
committerMartin Pool <mbp@samba.org>2001-11-27 06:01:05 +0000
commitc11b88061f14594ac2d131cc922195c56735d4f3 (patch)
treeda57cc08bc9832802fac086b774921e46997212e /socket.c
parent647c5433f81a0c756f704bf61e252252373fa9c6 (diff)
downloadrsync-c11b88061f14594ac2d131cc922195c56735d4f3.tar.gz
rsync-c11b88061f14594ac2d131cc922195c56735d4f3.tar.bz2
rsync-c11b88061f14594ac2d131cc922195c56735d4f3.zip
Fix missing parameter in log call.
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 8e895ca8..84622515 100644
--- a/socket.c
+++ b/socket.c
@@ -597,7 +597,7 @@ char *client_name(int fd)
if (getpeername(fd, (struct sockaddr *)&ss, &length)) {
/* FIXME: Can we really not continue? */
rprintf(FERROR, RSYNC_NAME ": getpeername on fd%d failed: %s\n",
- strerror(errno));
+ fd, strerror(errno));
exit_cleanup(RERR_SOCKETIO);
}