summaryrefslogtreecommitdiffstats
path: root/Query.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-08-07 06:12:25 +0200
committerNeilBrown <neilb@suse.de>2008-08-07 06:12:25 +0200
commit37ea3936a696c2b102963ba5117165ef6be8d4b4 (patch)
tree75fe06d0b49ef74f834a25920f003c693023857e /Query.c
parentimsm: trim some memory wastage (diff)
parentCosmetic cleanup of some messages. (diff)
downloadmdadm-37ea3936a696c2b102963ba5117165ef6be8d4b4.tar.xz
mdadm-37ea3936a696c2b102963ba5117165ef6be8d4b4.zip
Merge branch 'master' into from-stable
Conflicts: Create.c Manage.c
Diffstat (limited to 'Query.c')
-rw-r--r--Query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Query.c b/Query.c
index fcbafcf8..dc69eb82 100644
--- 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;