]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Build.c
mdadm-0.8.2
[thirdparty/mdadm.git] / Build.c
diff --git a/Build.c b/Build.c
index 51f2df07c3744389be1bde877ac061d63d2ba003..0179807f4bc1908b30cfab5a9b9b29f66be3eba9 100644 (file)
--- a/Build.c
+++ b/Build.c
@@ -1,5 +1,5 @@
 /*
- * mdctl - manage Linux "md" devices aka RAID arrays.
+ * mdadm - manage Linux "md" devices aka RAID arrays.
  *
  * Copyright (C) 2001-2002 Neil Brown <neilb@cse.unsw.edu.au>
  *
@@ -27,7 +27,7 @@
  *           Australia
  */
 
-#include "mdctl.h"
+#include "mdadm.h"
 
 #define REGISTER_DEV           _IO (MD_MAJOR, 1)
 #define START_MD               _IO (MD_MAJOR, 2)
@@ -130,7 +130,7 @@ int Build(char *mddev, int mdfd, int chunk, int level,
                        }
                } else {
                        if (ioctl(mdfd, REGISTER_DEV, &stb.st_rdev)) {
-                               fprintf(stderr, Name ": REGISTER_DEV failed for %s.\n",
+                               fprintf(stderr, Name ": REGISTER_DEV failed for %s: %s.\n",
                                        dv->devname, strerror(errno));
                                goto abort;
                        }