Fix missing parameter in log call.
authorMartin Pool <mbp@samba.org>
Tue, 27 Nov 2001 06:01:05 +0000 (06:01 +0000)
committerMartin Pool <mbp@samba.org>
Tue, 27 Nov 2001 06:01:05 +0000 (06:01 +0000)
socket.c

index 8e895ca8329b7cbf28c644078bdf8be700cadaa4..846225152cf3667439da4f15896a980f4c58429e 100644 (file)
--- 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);
        }