diff options
author | Dan Carpenter <[email protected]> | 2010-08-12 09:50:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-10-22 10:19:58 -0700 |
commit | a95898114059e1038f3f7ee9bd2e43aefa62709a (patch) | |
tree | a1d559d638fdfe2ee668628827c5a75927362ac8 /tools/perf/scripts/python/syscall-counts.py | |
parent | de838a93cbf35671f890360b886a5c2a8a5d1aa4 (diff) |
serial: mfd: snprintf() returns largish values
snprintf() returns the number of bytes which would have been written so
it can be larger than the size of the buffer. In this case it's fine,
but people copy and paste this code so I've fixed it.
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Feng Tang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions