From bd5d86df489c7620b02537fd2a3fd2725125056f Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Sat, 30 May 2015 19:44:54 +0200 Subject: [PATCH 1/3] barebox-state: fix typo Signed-off-by: Jan Luebbe --- src/barebox-state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/barebox-state.c b/src/barebox-state.c index 61ea160..57305c4 100644 --- a/src/barebox-state.c +++ b/src/barebox-state.c @@ -1698,7 +1698,7 @@ static struct state *state_get(const char *name) state = state_new_from_node(node->name, node); 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); } -- 2.1.4