Instead of directly accessing the struct member of struct param_d use the provided getter function. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/base/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 2d206f9..9924fee 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -401,7 +401,7 @@ static int do_devinfo(int argc, char *argv[]) "no parameters available" : "Parameters:"); list_for_each_entry(param, &dev->parameters, list) - printf("%16s = %s\n", param->name, param->value); + printf("%16s = %s\n", param->name, dev_get_param(dev, param->name)); } return 0; -- 1.7.10 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox