summaryrefslogtreecommitdiff
path: root/cmd/dtimg.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dtimg.c')
-rw-r--r--cmd/dtimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dtimg.c b/cmd/dtimg.c
index 65c8d101b9..ae7d82f26d 100644
--- a/cmd/dtimg.c
+++ b/cmd/dtimg.c
@@ -116,7 +116,7 @@ static int do_dtimg(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if (!cp || argc > cp->maxargs)
return CMD_RET_USAGE;
- if (flag == CMD_FLAG_REPEAT && !cp->repeatable)
+ if (flag == CMD_FLAG_REPEAT && !cmd_is_repeatable(cp))
return CMD_RET_SUCCESS;
return cp->cmd(cmdtp, flag, argc, argv);