firehose: fixup typo

This typo was introduced in 1611c78335 when the
code was reworked.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
This commit is contained in:
Nicolas Dechesne
2016-09-21 17:11:50 +02:00
parent 1f28fb0259
commit 000ec0909a

View File

@@ -285,7 +285,7 @@ static void firehose_program(int usbfd, struct program *program, int fd)
if (program->filename)
xml_setpropf(node, "filename", "%s", program->filename);
ret = firehose_write(fd, doc);
ret = firehose_write(usbfd, doc);
if (ret < 0)
goto out;