printf: fix regression in previous patch