summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-08-24 22:54:21 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-09-01 13:52:23 +0300
commitb4df20474ff76b4dbab7d991de271820383995b8 (patch)
tree380af2745a04d4862f563d3fbb78d94f8b8366f3 /crypto/asymmetric_keys
parentb06ece93cf96b430587e77e01053b2b8f99cb750 (diff)
fbdev: fix snprintf() limit in show_bl_curve()
The limit should be "PAGE_SIZE - len" instead of PAGE_SIZE. Also let's use scnprintf() because snprintf() returns the number of bytes which would have been printed if there were space and scnprintf() returns the number of bytes actually printed. I don't think we are ever going to actually hit this limit in real life. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'crypto/asymmetric_keys')
0 files changed, 0 insertions, 0 deletions