* grub-core/kern/corecmd.c (grub_core_cmd_set): Use grub_env_get

to fetch values when listing.
This commit is contained in:
Andrey Borzenkov 2013-06-07 18:25:19 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent cc28411296
commit 63c2984922
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-06-07 Andrey Borzenkov <arvidjaar@gmail.com>
* grub-core/kern/corecmd.c (grub_core_cmd_set): Use grub_env_get
to fetch values when listing.
2013-06-07 Andrey Borzenkov <arvidjaar@gmail.com>
Fix make dist on non-pc.

View file

@ -40,7 +40,7 @@ grub_core_cmd_set (struct grub_command *cmd __attribute__ ((unused)),
{
struct grub_env_var *env;
FOR_SORTED_ENV (env)
grub_printf ("%s=%s\n", env->name, env->value);
grub_printf ("%s=%s\n", env->name, grub_env_get (env->name));
return 0;
}