From 02388c918dd451cd7c45ab8728c281b4bb8714b4 Mon Sep 17 00:00:00 2001 From: Peter Vaskovic Date: Sat, 24 May 2014 15:19:35 +0200 Subject: [PATCH] Fix minor format string inconsistency. --- library/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/debug.c b/library/debug.c index 3e2466abd..2008262ff 100644 --- a/library/debug.c +++ b/library/debug.c @@ -95,7 +95,7 @@ void debug_print_buf( const ssl_context *ssl, int level, if( ssl->f_dbg == NULL ) return; - snprintf( str, maxlen, "%s(%04d): dumping '%s' (%d bytes)\n", + snprintf( str, maxlen, "%s(%04d): dumping '%s' (%u bytes)\n", file, line, text, (unsigned int) len ); str[maxlen] = '\0';