X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=Query.c;h=f9857d6d9e2ddadd86726db70046324bf4b0ee7d;hb=1c7a808c4d696f6ba30c92941661a7f62eb3ff3a;hp=dc69eb8271ec171c35a418bf883b52cfacb04b6d;hpb=6c40598f598874d1d4c2c4d0da0c2a9b873d768d;p=thirdparty%2Fmdadm.git diff --git a/Query.c b/Query.c index dc69eb82..f9857d6d 100644 --- a/Query.c +++ b/Query.c @@ -1,7 +1,7 @@ /* * mdadm - manage Linux "md" devices aka RAID arrays. * - * Copyright (C) 2002-2006 Neil Brown + * Copyright (C) 2002-2009 Neil Brown * * * This program is free software; you can redistribute it and/or modify @@ -19,12 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Author: Neil Brown - * Email: - * Paper: Neil Brown - * School of Computer Science and Engineering - * The University of New South Wales - * Sydney, 2052 - * Australia + * Email: */ #include "mdadm.h" @@ -95,7 +90,7 @@ int Query(char *dev) close(fd); if (superror == 0) { /* array might be active... */ - st->ss->getinfo_super(st, &info); + st->ss->getinfo_super(st, &info, NULL); if (st->ss == &super0) { mddev = get_md_name(info.array.md_minor); disc.number = info.disk.number;