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 @@ 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); }