if (error_msg) {
/* A socket error has occurred. */
logevent(rlogin->frontend, error_msg);
- connection_fatal("%s", error_msg);
+ connection_fatal(rlogin->frontend, "%s", error_msg);
} /* Otherwise, the remote side closed the connection normally. */
return 0;
}