From dcd94de076eb8d68885eda4210a69e3716cb95b5 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 14 Jul 2013 12:12:29 +0200 Subject: error: Use new logging function. --- src/error.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/error.c') 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); } /** -- cgit