printf: protect against bogus format specifiers. Hopefully closes bug 4184

2 files changed