logging: Fixed a missing printf-style format argument.

This was identified by GCC's format-security check which forbids any non
string literals to be used as format argument.
Merge pull request #56 from tokkee/master

logging: Fixed a missing printf-style format argument