add missing vfprintf in log_warning