aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Garcia Illera <agarciaillera@gmail.com>2019-03-27 13:00:26 -0700
committerAndreas Schneider <asn@cryptomilk.org>2019-03-29 14:42:40 +0100
commit45c7d077804a3833b073a45c84028ff234cc6f88 (patch)
tree466a6d722ba7384b69824d11928af8e366be8d4e
parentf05571841b051fa8bdb5e03bc82f34abaac53bd9 (diff)
downloadlibssh-45c7d077804a3833b073a45c84028ff234cc6f88.tar.gz
libssh-45c7d077804a3833b073a45c84028ff234cc6f88.tar.xz
libssh-45c7d077804a3833b073a45c84028ff234cc6f88.zip
misc: Avoid printing full path in debug message
Signed-off-by: Alberto Garcia Illera <agarciaillera@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/misc.c4
1 files 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;