Simplified err_exit function body using parameter expansion.