misusage.
Reported by: J. Nick Terry
+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.
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)] == '+'