rtl8169: resolve Coverity warnings

This commit is contained in:
David van Moolenbroek 2012-07-30 12:09:13 +00:00
parent ee71bbbcb5
commit e34f611be3

View file

@ -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;