[PATCH 2/2] state: fix missing newline in error message

Jan Luebbe jluebbe at debian.org
Thu Jul 30 08:26:23 PDT 2015


Signed-off-by: Jan Luebbe <jluebbe at debian.org>
---
 common/state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/state.c b/common/state.c
index 1ff0e24..aa436fc 100644
--- a/common/state.c
+++ b/common/state.c
@@ -1279,7 +1279,7 @@ static int backend_raw_load_one(struct state_backend_raw *backend_raw,
 	max_len -= sizeof(header);
 	if (ret < 0) {
 		dev_err(&state->dev,
-			"cannot read header from backend device");
+			"cannot read header from backend device\n");
 		return ret;
 	}
 
-- 
2.1.4




More information about the barebox mailing list