From 45c7d077804a3833b073a45c84028ff234cc6f88 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Illera Date: Wed, 27 Mar 2019 13:00:26 -0700 Subject: [PATCH] misc: Avoid printing full path in debug message Signed-off-by: Alberto Garcia Illera Reviewed-by: Andreas Schneider --- src/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc.c b/src/misc.c index a048637f..dccb12a3 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1083,8 +1083,8 @@ int ssh_timeout_elapsed(struct ssh_timestamp *ts, int timeout) { * session->timeout, session->timeout_usec. */ SSH_LOG(SSH_LOG_WARN, "ssh_timeout_elapsed called with -2. this needs to " - "be fixed. please set a breakpoint on %s:%d and " - "fix the caller\n", __FILE__, __LINE__); + "be fixed. please set a breakpoint on misc.c:%d and " + "fix the caller\n", __LINE__); return 0; case -1: /* -1 means infinite timeout */ return 0;