]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
raid6check.c: fix position printout
authorPiergiorgio Sartor <piergiorgio.sartor@nexgo.de>
Sat, 1 Feb 2014 16:39:27 +0000 (17:39 +0100)
committerNeilBrown <neilb@suse.de>
Tue, 4 Feb 2014 05:06:46 +0000 (16:06 +1100)
This patch make a bit more clear
the position, in the disk, where
an error is found.

Signed off: piergiorgio.sartor@nexgo.de

Signed-off-by: NeilBrown <neilb@suse.de>
raid6check.c

index c5a7917adc3604ba8ad13f74a63c2b02267a3692..042f7d077b4cd725824e6dfc8fcf40cbcc1affaa 100644 (file)
@@ -245,11 +245,11 @@ int check_stripes(struct mdinfo *info, int *source, unsigned long long *offsets,
                                disk[j] = geo_map(disk[j], start, raid_disks, level, layout);
                        }
                        if(disk[j] >= 0) {
-                               printf("Error detected at %llu, page %d: possible failed disk slot: %d --> %s\n",
+                               printf("Error detected at stripe %llu, page %d: possible failed disk slot: %d --> %s\n",
                                        start, j, disk[j], name[disk[j]]);
                        }
                        if(disk[j] == -65535) {
-                               printf("Error detected at %llu, page %d: disk slot unknown\n", start, j);
+                               printf("Error detected at stripe %llu, page %d: disk slot unknown\n", start, j);
                        }
                }