* util/misc.c (make_system_path_relative_to_its_root): Fix access
to a wrong variable.
+2009-11-13 Felix Zielcke <fzielcke@z-51.de>
+
+ * util/misc.c (make_system_path_relative_to_its_root): Fix access
+ to a wrong variable.
+
2009-11-11 Felix Zielcke <fzielcke@z-51.de>
* util/grub-probe.c (probe): Abort with an error if file can't be
free (buf2);
len = strlen (buf3);
- while (buf2[len - 1] == '/' && len > 1)
+ while (buf3[len - 1] == '/' && len > 1)
{
- buf2[len - 1] = '\0';
+ buf3[len - 1] = '\0';
len--;
}