/* @tag: The first part of the response @response: Pointer to fastboot response buffer @format: printf style format string  */
void fastboot_response(const char *tag, char *response, const char *format,...)
/* @tag: The first part of the response @response: Pointer to fastboot response buffer @format: printf style format string  */
void fastboot_response(const char *tag, char *response, const char *format,...)
{
	va_list args;
	strlcpy(response, tag, FASTBOOT_RESPONSE_LEN);
	if (format) {
		va_start(args, format);
		vsnprintf(response + strlen(response),
			  FASTBOOT_RESPONSE_LEN - strlen(response) - 1,
			  format, args);
		va_end(args);
	}
}