]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 10 Jan 2011 16:28:29 +0000 (17:28 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 10 Jan 2011 16:28:29 +0000 (17:28 +0100)
members errors.

ChangeLog
grub-core/disk/raid.c

index e215db3bd09ae38a0e9f699e5ed40c5193d5ecbb..85495e8addb2d9c864ac18380664bf047525afbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-01-10  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/disk/raid.c (insert_array): Display RAID name in duplicate
+       members errors.
+
 2011-01-09  GrĂ©goire Sutre  <gregoire.sutre@gmail.com>
 
        * util/grub.d/10_netbsd.in (netbsd_load_fs_module): New function.
index edc2b195d7afc2b7c44b6bc48ead8c1d31c120c6..c789fea50628defef94e2d953b91e2a4f9eaf15b 100644 (file)
@@ -530,8 +530,8 @@ insert_array (grub_disk_t disk, struct grub_raid_array *new_array,
           /* We found multiple devices with the same number. Again,
              this shouldn't happen.  */
          return grub_error (GRUB_ERR_BAD_DEVICE,
-                            "found two disks with the number %d",
-                            new_array->number);
+                            "found two disks with the index %d for RAID %s",
+                            new_array->index, array->name);
 
         if (new_array->disk_size < array->disk_size)
           array->disk_size = new_array->disk_size;