summaryrefslogtreecommitdiffstats
path: root/Examine.c
diff options
context:
space:
mode:
Diffstat (limited to 'Examine.c')
-rw-r--r--Examine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examine.c b/Examine.c
index fa120a5..e07b27e 100644
--- a/Examine.c
+++ b/Examine.c
@@ -51,7 +51,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
* utime, state etc
*
* If (brief) gather devices for same array and just print a mdadm.conf line including devices=
- * if devlist==NULL, use conf_get_devs(
+ * if devlist==NULL, use conf_get_devs()
*/
int fd;
void *super = NULL;
@@ -71,7 +71,7 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
for (; devlist ; devlist=devlist->next) {
struct supertype *st = forcest;
- fd = open(devlist->devname, O_RDONLY);
+ fd = dev_open(devlist->devname, O_RDONLY);
if (fd < 0) {
if (!scan)
fprintf(stderr,Name ": cannot open %s: %s\n",