summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-19 09:19:04 +0200
committerNeil Brown <neilb@suse.de>2006-05-19 09:19:04 +0200
commita1cbd7d053e034bbfcf337bc9ee7b92ec4c6f6c0 (patch)
tree96ccd12c23643ef4ba48ab6c8768cf7ce75628e6 /Examine.c
parentInclude homehost information in --detail where appropriate. (diff)
downloadmdadm-a1cbd7d053e034bbfcf337bc9ee7b92ec4c6f6c0.tar.xz
mdadm-a1cbd7d053e034bbfcf337bc9ee7b92ec4c6f6c0.zip
Include homehost information in --examine as appropriate
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Examine.c b/Examine.c
index b5a6f13d..16b1b9ba 100644
--- a/Examine.c
+++ b/Examine.c
@@ -35,7 +35,9 @@
#endif
#include "md_u.h"
#include "md_p.h"
-int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct supertype *forcest)
+int Examine(mddev_dev_t devlist, int brief, int scan,
+ int SparcAdjust, struct supertype *forcest,
+ char *homehost)
{
/* Read the raid superblock from a device and
@@ -124,7 +126,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
dl_add(ap->devs, d);
} else {
printf("%s:\n",devlist->devname);
- st->ss->examine_super(super);
+ st->ss->examine_super(super, homehost);
free(super);
}
}