Mass ejection in failed supernovae: variation with stellar progenitor