aboutsummaryrefslogtreecommitdiff
path: root/src/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/error.c b/src/error.c
index f4a2af00..e30e7b03 100644
--- a/src/error.c
+++ b/src/error.c
@@ -61,11 +61,9 @@ void _ssh_set_error(void *error,
va_end(va);
err->error.error_code = code;
- ssh_log_common(err,
- SSH_LOG_WARN,
- function,
- "Error: %s",
- err->error.error_buffer);
+ ssh_log_function(SSH_LOG_WARN,
+ function,
+ err->error.error_buffer);
}
/**