]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/saleae-logic16/protocol.c
portability: Use g_strerror() in favor of strerror().
[libsigrok.git] / src / hardware / saleae-logic16 / protocol.c
index 532320d9216a10f132652e0d8b5c36a9d4c7bfba..5e43c3bd45903014d8175be0c49b665c9b4b1f4a 100644 (file)
@@ -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;
                }