aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/defs.h b/src/core/defs.h
index 13d0b25f..9ba41fae 100644
--- a/src/core/defs.h
+++ b/src/core/defs.h
@@ -17,8 +17,8 @@
// superior, support for such are not universal.
#define NNI_ARG_UNUSED(x) ((void) x);
-#define NNI_ASSERT(x) \
- if (!(x)) \
+#define NNI_ASSERT(x) \
+ if (!(x)) \
nni_panic("%s: %d: assert err: %s", __FILE__, __LINE__, # x)
// These types are common but have names shared with user space.