summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2015-03-22 12:41:46 +0000
committerSami Tolvanen <samitolvanen@google.com>2015-03-22 12:41:46 +0000
commit8d6ea4bed403fd01254597db3d7b40f5596c7a6a (patch)
treead0e1e91437ed5b0ad26f60ebdec69cdb3bfe7c6
parentd69a1c502e11d3be052d9c0bb20f0c7762428925 (diff)
downloadsystem_core-8d6ea4bed403fd01254597db3d7b40f5596c7a6a.zip
system_core-8d6ea4bed403fd01254597db3d7b40f5596c7a6a.tar.gz
system_core-8d6ea4bed403fd01254597db3d7b40f5596c7a6a.tar.bz2
Fix the number of arguments for verity commands
Neither of the built-in verity state commands accept arguments, so set the number of required arguments to zero. Change-Id: Id57fe671b6b82eaf1e43b8ed7ff9d1e502ada5bd
-rw-r--r--init/keywords.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/keywords.h b/init/keywords.h
index 532d7c5..09f645b 100644
--- a/init/keywords.h
+++ b/init/keywords.h
@@ -89,8 +89,8 @@ enum {
KEYWORD(symlink, COMMAND, 1, do_symlink)
KEYWORD(sysclktz, COMMAND, 1, do_sysclktz)
KEYWORD(user, OPTION, 0, 0)
- KEYWORD(verity_load_state, COMMAND, 1, do_verity_load_state)
- KEYWORD(verity_update_state, COMMAND, 1, do_verity_update_state)
+ KEYWORD(verity_load_state, COMMAND, 0, do_verity_load_state)
+ KEYWORD(verity_update_state, COMMAND, 0, do_verity_update_state)
KEYWORD(wait, COMMAND, 1, do_wait)
KEYWORD(write, COMMAND, 2, do_write)
KEYWORD(copy, COMMAND, 2, do_copy)