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 8e895ca..8462251 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);
        }