summaryrefslogtreecommitdiffstats
path: root/board/amcc/luan
diff options
context:
space:
mode:
Diffstat (limited to 'board/amcc/luan')
-rw-r--r--board/amcc/luan/luan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/amcc/luan/luan.c b/board/amcc/luan/luan.c
index c0368c0389..c09d730888 100644
--- a/board/amcc/luan/luan.c
+++ b/board/amcc/luan/luan.c
@@ -223,8 +223,7 @@ int do_l2cache( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[] )
l2cache_status() ? "ON" : "OFF");
return 0;
default:
- cmd_usage(cmdtp);
- return 1;
+ return cmd_usage(cmdtp);
}
return 0;