diff options
author | Piergiorgio Sartor <piergiorgio.sartor@nexgo.de> | 2014-02-01 17:39:27 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-02-04 06:06:46 +0100 |
commit | afc755e9a6ae359a30ddac3ec98040c32c52250d (patch) | |
tree | baf288d7b9b69d4e0f91514f60e818e4ac35259e /raid6check.c | |
parent | raid6check.c: reduce verbosity (diff) | |
download | mdadm-afc755e9a6ae359a30ddac3ec98040c32c52250d.tar.xz mdadm-afc755e9a6ae359a30ddac3ec98040c32c52250d.zip |
raid6check.c: fix position printout
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>
Diffstat (limited to 'raid6check.c')
-rw-r--r-- | raid6check.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/raid6check.c b/raid6check.c index c5a7917a..042f7d07 100644 --- a/raid6check.c +++ b/raid6check.c @@ -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); } } |