barebox-state: make sure state->name is valid
It's used later while setting state variables. Fixes: feb64890a302 ("barebox-state: fall back to /state if there is no alias defined") Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> |
---|
|
src/barebox-state.c |
---|