staging: speakup: Add __printf format/arg verification, fix fallout
authorJoe Perches <joe@perches.com>
Sat, 4 Mar 2017 16:13:11 +0000 (08:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 13:25:57 +0000 (14:25 +0100)
commitae8784fcdc9bd3137fe65d6247129a19cab520b5
tree026845b113d8a7fc76f4f867d1a36f07811fe3ca
parentd5dc063ca2b1201781f973a7d55b21d000c48641
staging: speakup: Add __printf format/arg verification, fix fallout

Using __printf allows the compiler to verify formats and arguments.
Use it and fix the single misuse found.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c
drivers/staging/speakup/spk_priv.h