Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Incremental.c
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,7 @@ static int Incremental_container(struct supertype *st, char *devname,
return 0;
}
for (ra = list ; ra ; ra = ra->next) {
int mdfd;
int mdfd = 0;
char chosen_name[1024];
struct map_ent *mp;
struct mddev_ident *match = NULL;
Expand Down
4 changes: 2 additions & 2 deletions super-intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -9585,9 +9585,9 @@ static int apply_takeover_update(struct imsm_update_takeover *u,
du->major = 0;
du->index = (i * 2) + 1;
sprintf((char *)du->disk.serial,
" MISSING_%d", du->index);
" MISSING_%hu", du->index);
sprintf((char *)du->serial,
"MISSING_%d", du->index);
"MISSING_%hu", du->index);
du->next = super->missing;
super->missing = du;
}
Expand Down