summaryrefslogtreecommitdiff
path: root/Examine.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-19 07:19:04 +0000
committerNeil Brown <neilb@suse.de>2006-05-19 07:19:04 +0000
commita1cbd7d053e034bbfcf337bc9ee7b92ec4c6f6c0 (patch)
tree96ccd12c23643ef4ba48ab6c8768cf7ce75628e6 /Examine.c
parentb6750aa8da57bfc0eb3a3bdc47c289638b1022c8 (diff)
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);
}
}