summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-12-22 00:03:49 -1000
committerSam Bingner <sam@bingner.com>2018-12-22 00:03:49 -1000
commit6409e172da5ff0e98345b21d07bc699c653ef099 (patch)
tree1b80e39f2c6a4424b6b6434d0d3c16072bf834e5 /main.c
parentfca6fef79e7d1fda465a5456b732941464408d58 (diff)
Fix makefile and clean up libraryv0.2
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;
}