aboutsummaryrefslogtreecommitdiff
path: root/src/target/mips_m4k.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/mips_m4k.c')
-rw-r--r--src/target/mips_m4k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c
index 2a64372f..4546093f 100644
--- a/src/target/mips_m4k.c
+++ b/src/target/mips_m4k.c
@@ -1140,7 +1140,7 @@ COMMAND_HANDLER(mips_m4k_handle_cp0_command)
/* two or more argument, access a single register/select (write if third argument is given) */
if (CMD_ARGC < 2)
{
- command_print(CMD_CTX, "command requires more arguments.");
+ return ERROR_COMMAND_SYNTAX_ERROR;
}
else
{