summaryrefslogtreecommitdiff
path: root/common/cmd_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_cache.c')
-rw-r--r--common/cmd_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_cache.c b/common/cmd_cache.c
index 9778d3bd3b..8dca71fc17 100644
--- a/common/cmd_cache.c
+++ b/common/cmd_cache.c
@@ -54,7 +54,7 @@ int do_icache ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
icache_status() ? "ON" : "OFF");
return 0;
default:
- return cmd_usage(cmdtp);
+ return CMD_RET_USAGE;
}
return 0;
}
@@ -83,7 +83,7 @@ int do_dcache ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
dcache_status() ? "ON" : "OFF");
return 0;
default:
- return cmd_usage(cmdtp);
+ return CMD_RET_USAGE;
}
return 0;