[mdadm] Bleah...more touchups...

Doug Ledford dledford at fedoraproject.org
Mon Mar 28 15:48:33 UTC 2011


commit 27175ab708297e917e7dd7d9f649eadff727b863
Author: Doug Ledford <dledford at redhat.com>
Date:   Mon Mar 28 11:48:22 2011 -0400

    Bleah...more touchups...
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

 mdadm-3.1.5-unused-param.patch |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
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));


More information about the scm-commits mailing list