/[grub]/grub2/kern/rescue.c
ViewVC logotype

Diff of /grub2/kern/rescue.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by okuji, Sat Aug 20 07:49:01 2005 UTC revision 1.16 by marco_g, Mon Oct 24 10:23:46 2005 UTC
# Line 1  Line 1 
1  /* rescue.c - rescue mode */  /* rescue.c - rescue mode */
2  /*  /*
3   *  GRUB  --  GRand Unified Bootloader   *  GRUB  --  GRand Unified Bootloader
4   *  Copyright (C) 2002, 2003  Free Software Foundation, Inc.   *  Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
5   *   *
6   *  This program is free software; you can redistribute it and/or modify   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 30  Line 30 
30  #include <grub/dl.h>  #include <grub/dl.h>
31  #include <grub/partition.h>  #include <grub/partition.h>
32  #include <grub/env.h>  #include <grub/env.h>
33    #include <grub/parser.h>
34    
35  #define GRUB_RESCUE_BUF_SIZE    256  #define GRUB_RESCUE_BUF_SIZE    256
36  #define GRUB_RESCUE_MAX_ARGS    20  #define GRUB_RESCUE_MAX_ARGS    20
# Line 650  grub_enter_rescue_mode (void) Line 651  grub_enter_rescue_mode (void)
651        /* Get a command line.  */        /* Get a command line.  */
652        grub_rescue_get_command_line ("grub rescue> ");        grub_rescue_get_command_line ("grub rescue> ");
653    
654        if (grub_split_cmdline (line, getline, &n, &args) || n < 0)        if (grub_parser_split_cmdline (line, getline, &n, &args) || n < 0)
655          continue;          continue;
656    
657        /* In case of an assignment set the environment accordingly        /* In case of an assignment set the environment accordingly

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26