diff mbox

[06/10] lock: Change abort to assert

Message ID 20150210151535.14819.22885.stgit@thinktux.in.ibm.com
State Rejected
Headers show

Commit Message

Ananth N Mavinakayanahalli Feb. 10, 2015, 3:15 p.m. UTC
... so we get good debug data on TI

Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
---
 core/lock.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/core/lock.c b/core/lock.c
index d916141..6f9e197 100644
--- a/core/lock.c
+++ b/core/lock.c
@@ -35,7 +35,7 @@  static void lock_error(struct lock *l, const char *reason, uint16_t err)
 		reason, l, l->lock_val);
 	op_display(OP_FATAL, OP_MOD_LOCK, err);
 
-	abort();
+	assert(false);
 }
 
 static void lock_check(struct lock *l)