summaryrefslogtreecommitdiffstats
path: root/src/barebox-state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/barebox-state.c')
-rw-r--r--src/barebox-state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/barebox-state.c b/src/barebox-state.c
index 25f3bc3..a40b32d 100644
--- a/src/barebox-state.c
+++ b/src/barebox-state.c
@@ -34,6 +34,7 @@
#include <mtd/mtd-abi.h>
#include <barebox-state/state.h>
+#include <barebox-state.h>
#include <dt/dt.h>
#include <state.h>
@@ -511,7 +512,7 @@ int main(int argc, char *argv[])
}
list_for_each_entry(state, &state_list.list, list) {
- state->state = state_get(state->name, readonly);
+ state->state = state_get(state->name, readonly, auth);
if (!IS_ERR(state->state) && !state->name)
state->name = state->state->name;
if (IS_ERR(state->state)) {