Cc: Jan Luebbe <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
---
 common/state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/state.c b/common/state.c
index 7076f5764d1f..e30f72660797 100644
--- a/common/state.c
+++ b/common/state.c
@@ -172,7 +172,7 @@ static struct state_variable *state_uint8_create(struct 
state *state,
        su32 = xzalloc(sizeof(*su32));
 
        param = dev_add_param_int(&state->dev, name, state_set_dirty,
-                                 NULL, &su32->value, "%d", state);
+                                 NULL, &su32->value, "%u", state);
        if (IS_ERR(param)) {
                free(su32);
                return ERR_CAST(param);
-- 
2.1.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to