review fixes

This commit is contained in:
BVK Chaitanya 2010-06-02 13:51:05 +05:30
parent 13d7b4b0de
commit e508977630
10 changed files with 49 additions and 45 deletions

View file

@ -31,6 +31,10 @@
#include <grub/command.h>
#include <grub/i18n.h>
#if defined (GRUB_MACHINE_EMU)
#include <grub/emu/misc.h>
#endif
static struct grub_parttool *parts = 0;
static int curhandle = 0;
static grub_dl_t mymod;
@ -175,7 +179,9 @@ grub_cmd_parttool (grub_command_t cmd __attribute__ ((unused)),
}
/* Load modules. */
#if defined(GRUB_MACHINE_EMU)
if (! grub_no_autoload)
#endif
{
const char *prefix;
prefix = grub_env_get ("prefix");