aboutsummaryrefslogtreecommitdiff
path: root/libssh/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/log.c')
-rw-r--r--libssh/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/log.c b/libssh/log.c
index 0ceff94..369871b 100644
--- a/libssh/log.c
+++ b/libssh/log.c
@@ -69,7 +69,7 @@ void ssh_log(SSH_SESSION *session, int verbosity, const char *format, ...) {
memset(indent, ' ', min);
indent[min] = '\0';
- fprintf(stderr, "[func] %s%s\n", buf2, buffer);
+ fprintf(stderr, "[func] %s%s\n", indent, buffer);
} else {
fprintf(stderr, "[%d] %s\n", verbosity, buffer);
}