diff options
Diffstat (limited to 'assert')
-rw-r--r-- | assert/assert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/assert/assert.c b/assert/assert.c index b7c7a4a1ba..bf0f4a69f5 100644 --- a/assert/assert.c +++ b/assert/assert.c @@ -24,6 +24,7 @@ #include <sysdep.h> #include <unistd.h> #include <sys/mman.h> +#include <setvmaname.h> extern const char *__progname; @@ -71,6 +72,7 @@ __assert_fail_base (const char *fmt, const char *assertion, const char *file, { buf->size = total; strcpy (buf->msg, str); + __set_vma_name (buf, total, " glibc: assert"); /* We have to free the old buffer since the application might catch the SIGABRT signal. */ |