diff --git a/common-channel.c b/common-channel.c
index bb7928ce48cf85ec8a61f0d6d2f219bbf190da84..f03039a174536c6f69339f5d8f01297c9c2f5868 100644
--- a/common-channel.c
+++ b/common-channel.c
@@ -964,7 +964,8 @@ void recv_msg_channel_open_confirmation() {
 	channel->transwindow = buf_getint(ses.payload);
 	channel->transmaxpacket = buf_getint(ses.payload);
 	
-	TRACE(("new chan remote %d localho %d", channel->remotechan, chan))
+	TRACE(("new chan remote %d local %d", 
+				channel->remotechan, channel->index))
 
 	/* Run the inithandler callback */
 	if (channel->type->inithandler) {