* util/grub-probe.c (probe): Fix a pair of unhandled error
conditions.
+2010-09-09 Robert Millan <rmh@gnu.org>
+
+ * util/grub-probe.c (probe): Fix a pair of unhandled error
+ conditions.
+
2010-09-09 Robert Millan <rmh@gnu.org>
Basic Btrfs support (detection and UUID).
if (! fs->uuid)
grub_util_error ("%s does not support UUIDs", fs->name);
- fs->uuid (dev, &uuid);
+ if (fs->uuid (dev, &uuid) != GRUB_ERR_NONE)
+ grub_util_error ("%s", grub_errmsg);
printf ("%s\n", uuid);
}
if (! fs->label)
grub_util_error ("%s does not support labels", fs->name);
- fs->label (dev, &label);
+ if (fs->label (dev, &label) != GRUB_ERR_NONE)
+ grub_util_error ("%s", grub_errmsg);
printf ("%s\n", label);
}