Error printing function, errprintf()