summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-29 12:56:24 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-04-29 12:56:26 +0200
commit0616a47b407ee7835a7767306411769c4645ca6e (patch)
tree7279109b306dcb5a687cfa721f75aedd7bed4b2d
parent1e73e7d11e00d26a0063402620a3ab3e9fd250c5 (diff)
downloadgnutls-0616a47b407ee7835a7767306411769c4645ca6e.tar.gz
errors.h: gnutls_assert() will log the function name in addition to filename/line
This is quite necessary after the filenames were simplified and we have filenames with identical names in the directory structure.
-rw-r--r--lib/errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/errors.h b/lib/errors.h
index 78b11dfce7..5fe2c5e633 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\n", __FILE__,__LINE__);
+#define gnutls_assert() _gnutls_assert_log( "ASSERT: %s:%d %s:\n", __FILE__,__LINE__,__func__);
#else
#define gnutls_assert()
#endif