aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/mips/hello-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/mips/hello-mips.c')
-rw-r--r--tests/tcg/mips/hello-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/mips/hello-mips.c b/tests/tcg/mips/hello-mips.c
index c7052fdf2e..4e1cf501af 100644
--- a/tests/tcg/mips/hello-mips.c
+++ b/tests/tcg/mips/hello-mips.c
@@ -60,5 +60,5 @@ static inline int write(int fd, const char *buf, int len)
void __start(void)
{
write (1, "Hello, World!\n", 14);
- exit1 (42);
+ exit1(0);
}