summaryrefslogtreecommitdiffstats
path: root/lib/librte_eal/common/include/rte_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_eal/common/include/rte_debug.h')
-rw-r--r--lib/librte_eal/common/include/rte_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_eal/common/include/rte_debug.h b/lib/librte_eal/common/include/rte_debug.h
index cab6fb4c..ec1dce03 100644
--- a/lib/librte_eal/common/include/rte_debug.h
+++ b/lib/librte_eal/common/include/rte_debug.h
@@ -86,7 +86,7 @@ void rte_dump_registers(void);
#endif
#define RTE_VERIFY(exp) do { \
if (unlikely(!(exp))) \
- rte_panic("line %d\tassert \"" #exp "\" failed\n", __LINE__); \
+ rte_panic("line %d\tassert \"%s\" failed\n", __LINE__, #exp); \
} while (0)
/*