summaryrefslogtreecommitdiff
path: root/nuttx/arch/pjrc-8051/src/up_assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/pjrc-8051/src/up_assert.c')
-rw-r--r--nuttx/arch/pjrc-8051/src/up_assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/pjrc-8051/src/up_assert.c b/nuttx/arch/pjrc-8051/src/up_assert.c
index b9ac5db43..0234e9ecd 100644
--- a/nuttx/arch/pjrc-8051/src/up_assert.c
+++ b/nuttx/arch/pjrc-8051/src/up_assert.c
@@ -75,6 +75,6 @@ void up_assert(void)
void up_assert_code(int errorcode)
{
- dbg("Assertion failed with error code: %d\n", errcode);
+ dbg("Assertion failed with error code: %d\n", errorcode);
exit(errorcode);
}