Dan Carpenter a8c1d28ac3 s2io: use snprintf() as a safety feature
"sp->desc[i]" has 25 characters.  "dev->name" has 15 characters.  If we
used all 15 characters then the sprintf() would overflow.

I changed the "sprintf(sp->name, "%s Neterion %s"" to snprintf(), as
well, even though it can't overflow just to be consistent.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-19 19:42:21 -05:00
..
2014-12-22 16:34:39 -05:00
2014-12-14 16:10:09 -08:00
2015-01-19 16:16:32 -05:00
2015-01-05 12:07:04 +02:00
2014-12-09 21:51:06 -05:00
2014-10-07 13:22:11 -04:00
2014-10-07 13:22:11 -04:00
2014-12-16 11:19:42 -05:00
2014-12-16 11:19:41 -05:00
2014-12-23 23:57:31 -05:00