When setenv complains that it can't set a device parameter, then print which parameter it tried to set. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/env.c b/common/env.c index 80d3f7ab50..323a82223e 100644 --- a/common/env.c +++ b/common/env.c @@ -266,7 +266,7 @@ int setenv(const char *_name, const char *value) if (strchr(name, '.')) { ret = dev_setenv(name, value); if (ret) - eprintf("Cannot set parameter: %s\n", strerror(-ret)); + eprintf("Cannot set parameter %s: %s\n", name, strerror(-ret)); goto out; } -- 2.15.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox