Fix the format string in a log message

The compiler warned about unknown conversion type and too many
arguments for the format.
Merge pull request #821 from mstorsjo/fix-format-string

Fix the format string in a log message