summaryrefslogtreecommitdiff
path: root/Incremental.c
diff options
context:
space:
mode:
Diffstat (limited to 'Incremental.c')
-rw-r--r--Incremental.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Incremental.c b/Incremental.c
index 0320ce78..0df69b7d 100644
--- a/Incremental.c
+++ b/Incremental.c
@@ -862,7 +862,7 @@ static int array_try_spare(char *devname, int *dfdp, struct dev_policy *pol,
/* add current device to chosen array as a spare */
int mdfd = open_dev(devname2devnum(chosen->sys_name));
if (mdfd >= 0) {
- struct mddev_dev_s devlist;
+ struct mddev_dev devlist;
char devname[20];
devlist.next = NULL;
devlist.used = 0;
@@ -1363,7 +1363,7 @@ int IncrementalRemove(char *devname, int verbose)
int mdfd;
int rv;
struct mdstat_ent *ent;
- struct mddev_dev_s devlist;
+ struct mddev_dev devlist;
if (strchr(devname, '/')) {
fprintf(stderr, Name ": incremental removal requires a "