Rename a debug function
diff --git a/library/debug.c b/library/debug.c
index 8189473..672e045 100644
--- a/library/debug.c
+++ b/library/debug.c
@@ -52,7 +52,7 @@
     debug_threshold = threshold;
 }
 
-void mbedtls_debug_print_fmt( const mbedtls_ssl_context *ssl, int level,
+void mbedtls_debug_print_msg( const mbedtls_ssl_context *ssl, int level,
                               const char *file, int line,
                               const char *format, ... )
 {