]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Query.c
imsm: add the ddf field
[thirdparty/mdadm.git] / Query.c
diff --git a/Query.c b/Query.c
index fcbafcf88df49ced396345da48bf864fe960f775..dc69eb8271ec171c35a418bf883b52cfacb04b6d 100644 (file)
--- a/Query.c
+++ b/Query.c
@@ -37,7 +37,7 @@ int Query(char *dev)
         * whether it is an md device and whether it has
         * a superblock
         */
-       int fd = open(dev, O_RDONLY, 0);
+       int fd = open(dev, O_RDONLY);
        int vers;
        int ioctlerr;
        int superror, superrno;