summaryrefslogtreecommitdiff
path: root/libc/misc/assert
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/assert')
-rw-r--r--libc/misc/assert/__assert.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/misc/assert/__assert.c b/libc/misc/assert/__assert.c
index 2949b75f0..c55f0b6ae 100644
--- a/libc/misc/assert/__assert.c
+++ b/libc/misc/assert/__assert.c
@@ -41,10 +41,6 @@
#define ASSERT_SHOW_PROGNAME 1
-#ifdef ASSERT_SHOW_PROGNAME
-extern const char *__progname;
-#endif
-
static int in_assert; /* bss inits to 0. */
void __assert(const char *assertion, const char * filename,
@@ -55,7 +51,7 @@ void __assert(const char *assertion, const char * filename,
fprintf(stderr,
#ifdef ASSERT_SHOW_PROGNAME
- "%s: %s: %d: %s: Assertion `%s' failed.\n", __progname,
+ "%s: %s: %d: %s: Assertion `%s' failed.\n", __uclibc_progname,
#else
"%s: %d: %s: Assertion `%s' failed.\n",
#endif