filter: resolve Coverity warnings
This commit is contained in:
parent
da915d36b7
commit
db7a45926b
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ static int check_problem(int which, int problem, int retries, int *tell_rs)
|
||||||
driver[DRIVER_MAIN] = driver[DRIVER_BACKUP];
|
driver[DRIVER_MAIN] = driver[DRIVER_BACKUP];
|
||||||
|
|
||||||
/* This is not necessary. */
|
/* This is not necessary. */
|
||||||
strcpy(MAIN_LABEL, BACKUP_LABEL);
|
strlcpy(MAIN_LABEL, BACKUP_LABEL, sizeof(MAIN_LABEL));
|
||||||
MAIN_MINOR = BACKUP_MINOR;
|
MAIN_MINOR = BACKUP_MINOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue