X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fsaleae-logic16%2Fprotocol.c;h=5e43c3bd45903014d8175be0c49b665c9b4b1f4a;hb=7237e91262251a138cf150f9fcfe7b05d0e5904b;hp=532320d9216a10f132652e0d8b5c36a9d4c7bfba;hpb=34577da641d836dcf27433fee3c6384565ca7847;p=libsigrok.git diff --git a/src/hardware/saleae-logic16/protocol.c b/src/hardware/saleae-logic16/protocol.c index 532320d9..5e43c3bd 100644 --- a/src/hardware/saleae-logic16/protocol.c +++ b/src/hardware/saleae-logic16/protocol.c @@ -491,7 +491,7 @@ static int upload_fpga_bitstream(const struct sr_dev_inst *sdi, sr_info("Uploading FPGA bitstream at %s.", filename); if (!(fw = g_fopen(filename, "rb"))) { sr_err("Unable to open bitstream file %s for reading: %s.", - filename, strerror(errno)); + filename, g_strerror(errno)); return SR_ERR; }