aboutsummaryrefslogtreecommitdiff
path: root/cmd/mvebu/comphy_rx_training.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mvebu/comphy_rx_training.c')
-rw-r--r--cmd/mvebu/comphy_rx_training.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mvebu/comphy_rx_training.c b/cmd/mvebu/comphy_rx_training.c
index 25a9e153de..4ee8f54ea9 100644
--- a/cmd/mvebu/comphy_rx_training.c
+++ b/cmd/mvebu/comphy_rx_training.c
@@ -22,7 +22,7 @@ int mvebu_comphy_rx_training_cmd(struct cmd_tbl *cmdtp, int flag, int argc,
if (argc != 3) {
printf("missing arguments\n");
- return -1;
+ return CMD_RET_USAGE;
}
cp_index = hextoul(argv[1], NULL);