rtl8169: resolve Coverity warnings
This commit is contained in:
parent
ee71bbbcb5
commit
e34f611be3
1 changed files with 1 additions and 1 deletions
|
@ -598,7 +598,7 @@ static void rl_pci_conf()
|
|||
|
||||
rep = &re_state;
|
||||
|
||||
strcpy(rep->re_name, "rtl8169#0");
|
||||
strlcpy(rep->re_name, "rtl8169#0", sizeof(rep->re_name));
|
||||
rep->re_name[8] += re_instance;
|
||||
rep->re_seen = FALSE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue