summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 74b99ec..81bed95 100644
--- a/main.c
+++ b/main.c
@@ -44,7 +44,7 @@ int main(int argc, char* argv[]) {
uint64_t trust_chain = find_trustcache();
term_kernel();
printf("Injecting to trust cache...\n");
- int errs = injectTrustCache(argc, argv, trust_chain);
+ int errs = injectTrustCache(argc - 1, argv + 1, trust_chain);
printf("Successfully injected [%d/%d] to trust cache.\n", argc - errs - 1, argc - 1);
return errs;
}