+2012-06-25 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/disk/lvm.c (grub_lvm_getvalue): Handle 64-bit values.
+
2012-06-25 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/fat.c (grub_fat_iterate_dir_next): Don't stop on a space
/* Go the string STR and return the number after STR. *P will point
at the number. In case STR is not found, *P will be NULL and the
return value will be 0. */
-static int
+static grub_uint64_t
grub_lvm_getvalue (char **p, const char *str)
{
*p = grub_strstr (*p, str);
if (! *p)
return 0;
*p += grub_strlen (str);
- return grub_strtoul (*p, p, 10);
+ return grub_strtoull (*p, p, 10);
}
#if 0