diff --git a/mdadm-3.1.5-unused-param.patch b/mdadm-3.1.5-unused-param.patch index b5a99c1..ba214d5 100644 --- a/mdadm-3.1.5-unused-param.patch +++ b/mdadm-3.1.5-unused-param.patch @@ -1,5 +1,14 @@ --- mdadm-3.2.1/sysfs.c.param 2011-03-28 11:28:13.599402233 -0400 -+++ mdadm-3.2.1/sysfs.c 2011-03-28 11:29:29.427842126 -0400 ++++ mdadm-3.2.1/sysfs.c 2011-03-28 11:48:02.593714836 -0400 +@@ -418,7 +418,7 @@ int sysfs_set_num(struct mdinfo *sra, st + int sysfs_uevent(struct mdinfo *sra, char *event) + { + char fname[50]; +- int n; ++ unsigned int n; + int fd; + + sprintf(fname, "/sys/block/%s/uevent", @@ -428,6 +428,11 @@ int sysfs_uevent(struct mdinfo *sra, cha return -1; n = write(fd, event, strlen(event));