aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/rtl8139-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/rtl8139-test.c')
-rw-r--r--tests/qtest/rtl8139-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/rtl8139-test.c b/tests/qtest/rtl8139-test.c
index eedf90f..55f671f 100644
--- a/tests/qtest/rtl8139-test.c
+++ b/tests/qtest/rtl8139-test.c
@@ -65,7 +65,7 @@ PORT(IntrMask, w, 0x3c)
PORT(IntrStatus, w, 0x3E)
PORT(TimerInt, l, 0x54)
-#define fatal(...) do { g_test_message(__VA_ARGS__); g_assert(0); } while (0)
+#define fatal(...) do { g_test_message(__VA_ARGS__); g_assert_not_reached(); } while (0)
static void test_timer(void)
{