environment: "wrong magic" gives the impression of an error
From 15e7ff6 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <srn@skov.dk>
Date: Thu, 22 Sep 2016 06:54:42 +0200
Subject: [PATCH 1/1] environment: "wrong magic" give the impression of an
 error

Introduce a more soft wording when the magic of
the superblock does not match.
Include a hint to the typical reason "(envfs never written?)"

This prevents a "what is wrong?" moment when looking at
the boot log.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b6ca024 commit 8b07b925ac4c40d1f8d81db71ad1be3af6769263
@Sam Ravnborg Sam Ravnborg authored on 22 Sep 2016
Sascha Hauer committed on 26 Sep 2016
Showing 1 changed file
View
common/environment.c