Displaying 1 result from an estimated 1 matches for "r2594".
Did you mean:
2594
2010 Oct 20
0
[nut-commits] svn commit r2594 - branches/bcmxcp/drivers
Citeren Chetan Agarwal <chetanagarwal-guest op alioth.debian.org>:
> + sPartNumber[16] = 0;
This is redundant. The snprintf function will take care of properly
terminating the string with a '\0' character, you don't need to do
that yourself.
> + snprintf(sPartNumber, 16, "%s", answer + BCMXCP_CONFIG_BLOCK_PART_NUMBER);
Don't hardcode '16' here,