summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/barebox-state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/barebox-state.c b/src/barebox-state.c
index 07c516d..0ed6700 100644
--- a/src/barebox-state.c
+++ b/src/barebox-state.c
@@ -365,7 +365,7 @@ struct state *state_get(const char *name, bool readonly)
state = state_new_from_node(node, devpath, offset, size, readonly);
if (IS_ERR(state)) {
- fprintf(stderr, "unable to initlialize state: %s\n",
+ fprintf(stderr, "unable to initialize state: %s\n",
strerror(PTR_ERR(state)));
return ERR_CAST(state);
}