gpu: pvr: change snprintf to scnprintf
authorImre Deak <imre.deak@nokia.com>
Tue, 22 Mar 2011 14:18:20 +0000 (16:18 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:04 +0000 (21:43 +0300)
commitd789bfa41df6494fb4649480a6ca308f107d4015
tree0c40b97f134bc5c02a68109d377af26594dcea88
parent870d99e1c6f4934707ce71a4cc1eec092cde7810
gpu: pvr: change snprintf to scnprintf

snprintf returns how many characters _would_ have been written if there
had been enough space, whereas scnprintf returns the actual numer of
written characters. The latter fits better our use case.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/pvr_debugfs.c