diff options
author | Neil Brown <neilb@suse.de> | 2004-01-22 03:10:29 +0100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2004-01-22 03:10:29 +0100 |
commit | 98c6faba80e6db0693f99faf5c6525ef4f1fb680 (patch) | |
tree | 73c58aeb3bd022665431cc513ce2bfd6f1560cd4 /Query.c | |
parent | mdadm-1.4.0 (diff) | |
download | mdadm-98c6faba80e6db0693f99faf5c6525ef4f1fb680.tar.xz mdadm-98c6faba80e6db0693f99faf5c6525ef4f1fb680.zip |
mdadm-1.5.0mdadm-1.5.0
Diffstat (limited to 'Query.c')
-rw-r--r-- | Query.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -129,7 +129,7 @@ int Query(char *dev) if (md_get_version(fd) >= 9000 && ioctl(fd, GET_ARRAY_INFO, &array)>= 0) { if (ioctl(fd, GET_DISK_INFO, &disc) >= 0 && - MKDEV(disc.major,disc.minor) == stb.st_rdev) + MKDEV((unsigned)disc.major,(unsigned)disc.minor) == stb.st_rdev) activity = "active"; else activity = "mismatch"; |