Use legal printf format strings when logging.
Merge pull request #306 from foresto/debfixes

Use legal printf format strings when logging.