* normal/autofs.c (read_fs_list): New parameter 'prefix'.

All users updated.
	* normal/crypto.c (read_crypto_list): Likewise.
	* normal/dyncmd.c (read_command_list): Likewise.
	* normal/term.c (read_terminal_list): Likewise.
	* normal/main.c (read_lists): Use explicit prefix.
	(read_lists_hook): Use read_lists.
	(grub_normal_execute): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-04-09 21:07:24 +02:00
parent 4777971126
commit 027de555e2
7 changed files with 35 additions and 27 deletions

View file

@ -51,11 +51,8 @@ autoload_fs_module (void)
/* Read the file fs.lst for auto-loading. */
void
read_fs_list (void)
read_fs_list (const char *prefix)
{
const char *prefix;
prefix = grub_env_get ("prefix");
if (prefix)
{
char *filename;