summaryrefslogtreecommitdiff
path: root/common/cmd_otp.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_otp.c')
-rw-r--r--common/cmd_otp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_otp.c b/common/cmd_otp.c
index 825fa34cebb..bdf2e6a8be6 100644
--- a/common/cmd_otp.c
+++ b/common/cmd_otp.c
@@ -57,7 +57,7 @@ int do_otp(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
otp_func = otp_write;
else {
usage:
- printf("Usage:\n%s\n", cmdtp->usage);
+ cmd_usage(cmdtp);
return 1;
}