pkg_printf()-ify