diff --git a/common-session.c b/common-session.c
index 20b6ba3872cbf2ee9f7ffa6e3049d882e97fbfb4..0563c6f7525f9361bc62c487ba636eb36be5e424 100644
--- a/common-session.c
+++ b/common-session.c
@@ -361,7 +361,7 @@ static void read_session_identification() {
 	}
 
 	if (!done) {
-		TRACE(("err: %s for '%s'\n", strerror(errno), linebuf))
+		TRACE(("error reading remote ident: %s\n", strerror(errno)))
 		ses.remoteclosed();
 	} else {
 		/* linebuf is already null terminated */