Pass printf arguments through a format string.

Fixes clang warnings:
autotest.c:52:11: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]