summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-11-23 10:34:50 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2011-11-24 16:28:16 +0400
commit50553c2c8145c3278668f385a71abbf79108e737 (patch)
tree2b150b4a825d85a6489976f8aa1044723ede5cca /tools/perf/scripts/python
parentfdb28589b10f1bd4c407ea304399c2ff1cae1504 (diff)
downloadlinux-50553c2c8145c3278668f385a71abbf79108e737.tar.xz
ath6kl: use a larger buffer for debug output
The return value of snprintf() is the number of bytes which would have been copied if there was enough space, but we want the number of bytes actually copied. The scnprintf() function does this. Also in theory, a %u can take take 10 digits so we may as well make the buffer larger as well. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions