printfmt: print cur_errbuf as part of %e