From 000ec0909abcbc4c002cd2e811e17c4711d81653 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Wed, 21 Sep 2016 17:11:50 +0200 Subject: [PATCH] firehose: fixup typo This typo was introduced in 1611c7833560cbc76240f6c68628527699b4ed6e when the code was reworked. Signed-off-by: Nicolas Dechesne --- firehose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firehose.c b/firehose.c index 89634d0..edd1e5a 100644 --- a/firehose.c +++ b/firehose.c @@ -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;