summaryrefslogtreecommitdiff
path: root/cmd/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hash.c')
-rw-r--r--cmd/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hash.c b/cmd/hash.c
index 60d482b7f87..5b40982b098 100644
--- a/cmd/hash.c
+++ b/cmd/hash.c
@@ -25,7 +25,7 @@ static int do_hash(struct cmd_tbl *cmdtp, int flag, int argc,
char *s;
int flags = HASH_FLAG_ENV;
- if (argc < (HARGS - 1))
+ if (argc < 4)
return CMD_RET_USAGE;
#if IS_ENABLED(CONFIG_HASH_VERIFY)