summaryrefslogtreecommitdiff
path: root/common/cmd_setexpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_setexpr.c')
-rw-r--r--common/cmd_setexpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_setexpr.c b/common/cmd_setexpr.c
index 2e49b6dd92..4125b183db 100644
--- a/common/cmd_setexpr.c
+++ b/common/cmd_setexpr.c
@@ -35,7 +35,7 @@ int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
/* Validate arguments */
if ((argc != 5) || (strlen(argv[3]) != 1)) {
- printf("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}