mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] bootchooser: fix state_prefix nv variable in error message
@ 2025-03-28 17:16 Bastian Krause
  2025-03-31  6:37 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Bastian Krause @ 2025-03-28 17:16 UTC (permalink / raw)
  To: barebox; +Cc: Bastian Krause

The correct variable for the state prefix is
`nv.bootchooser.state_prefix`, not `nv.state_prefix`.

Fixes: cc532a3f733 ("boot: add framework for redundant boot scenarios")
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 common/bootchooser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/bootchooser.c b/common/bootchooser.c
index 3e7bda9ab0f..6c324fb155e 100644
--- a/common/bootchooser.c
+++ b/common/bootchooser.c
@@ -381,7 +381,7 @@ struct bootchooser *bootchooser_get(void)
 			}
 			free(state_devname);
 		} else {
-			pr_err("State disabled, cannot use nv.state_prefix=%s\n",
+			pr_err("State disabled, cannot use nv.bootchooser.state_prefix=%s\n",
 			       state_prefix);
 			ret = -ENODEV;
 			goto err;
-- 
2.39.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] bootchooser: fix state_prefix nv variable in error message
  2025-03-28 17:16 [PATCH] bootchooser: fix state_prefix nv variable in error message Bastian Krause
@ 2025-03-31  6:37 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2025-03-31  6:37 UTC (permalink / raw)
  To: barebox, Bastian Krause


On Fri, 28 Mar 2025 18:16:17 +0100, Bastian Krause wrote:
> The correct variable for the state prefix is
> `nv.bootchooser.state_prefix`, not `nv.state_prefix`.
> 
> 

Applied, thanks!

[1/1] bootchooser: fix state_prefix nv variable in error message
      https://git.pengutronix.de/cgit/barebox/commit/?id=cb39329acd57 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-31  6:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-28 17:16 [PATCH] bootchooser: fix state_prefix nv variable in error message Bastian Krause
2025-03-31  6:37 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox