* grub-core/commands/parttool.c (grub_cmd_parttool): Fix a variable
misusage. Reported by: J. Nick Terry
This commit is contained in:
parent
e50fca4a4c
commit
35139e8a55
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-09-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/parttool.c (grub_cmd_parttool): Fix a variable
|
||||
misusage.
|
||||
Reported by: J. Nick Terry
|
||||
|
||||
2010-09-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Move embedding routines to partmap sources files.
|
||||
|
|
|
@ -275,7 +275,7 @@ grub_cmd_parttool (grub_command_t cmd __attribute__ ((unused)),
|
|||
if (! parsed[j])
|
||||
{
|
||||
for (curarg = ptool->args; curarg->name; curarg++)
|
||||
if (grub_strncmp (curarg->name, args[i],
|
||||
if (grub_strncmp (curarg->name, args[j],
|
||||
grub_strlen (curarg->name)) == 0
|
||||
&& ((curarg->type == GRUB_PARTTOOL_ARG_BOOL
|
||||
&& (args[j][grub_strlen (curarg->name)] == '+'
|
||||
|
|
Loading…
Reference in a new issue