summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-10 11:00:02 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-05-10 11:00:02 +0200
commiteb16b9ad624795d1ccfb91c98ab57506f3e0eda5 (patch)
tree9e28ce77879ecb307c2ad2be46bc1230a3e245da
parent1641ea943079765d601cf418dc2c89c1c93f0ecf (diff)
downloadgnutls-eb16b9ad624795d1ccfb91c98ab57506f3e0eda5.tar.gz
improved output of gnutls_assert()
-rw-r--r--lib/errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/errors.h b/lib/errors.h
index da8fb13563..02ab42643f 100644
--- a/lib/errors.h
+++ b/lib/errors.h
@@ -32,7 +32,7 @@
#ifdef __FILE__
#ifdef __LINE__
-#define gnutls_assert() _gnutls_assert_log( "ASSERT: %s:%d %s\n", __FILE__,__LINE__,__func__);
+#define gnutls_assert() _gnutls_assert_log( "ASSERT: %s[%s]:%d\n", __FILE__,__func__,__LINE__);
#else
#define gnutls_assert()
#endif