dp8390: resolve Coverity warnings (encore)

This commit is contained in:
David van Moolenbroek 2012-08-13 16:33:58 +00:00
parent bc404a9401
commit 4aec9db571

View file

@ -1640,7 +1640,7 @@ dp_conf_t *dcp;
}
#endif
strcpy(eckey, "DPETH0");
strlcpy(eckey, "DPETH0", sizeof(eckey));
eckey[5] += de_instance;
/* Get the default settings and modify them from the environment. */