summaryrefslogtreecommitdiff
path: root/common/cmd_onenand.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_onenand.c')
-rw-r--r--common/cmd_onenand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c
index 6a2c924..6d43a77 100644
--- a/common/cmd_onenand.c
+++ b/common/cmd_onenand.c
@@ -465,7 +465,7 @@ int do_onenand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
return 0;
usage:
- printf("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}