]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - util.c
Monitor: devid should be dev_t
[thirdparty/mdadm.git] / util.c
diff --git a/util.c b/util.c
index 2a206448e4e2b07586d4baa7968941ef108afb86..fde58ebbeffa6271c93e01abae14c5880221e0f6 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1123,7 +1123,7 @@ struct supertype *super_by_fd(int fd, char **subarrayp)
 }
 #endif /* !defined(MDASSEMBLE) || defined(MDASSEMBLE) && defined(MDASSEMBLE_AUTO) */
 
-int dev_size_from_id(unsigned int id, unsigned long long *size)
+int dev_size_from_id(dev_t id, unsigned long long *size)
 {
        char buf[20];
        int fd;