Bleah...more touchups...
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
111113da02
commit
27175ab708
@ -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.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
|
@@ -428,6 +428,11 @@ int sysfs_uevent(struct mdinfo *sra, cha
|
||||||
return -1;
|
return -1;
|
||||||
n = write(fd, event, strlen(event));
|
n = write(fd, event, strlen(event));
|
||||||
|
Loading…
Reference in New Issue
Block a user