X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=blobdiff_plain;f=decoder%2Fruntc.c;h=6d40c1f8f46cb0037f8b82bd8a082e6aafafdd5e;hp=49e6a61009d8eaa9eb34ef128921973bcbac245d;hb=8a8c92bde034cc6c04835eff0e844406177e947f;hpb=c8636f805d1900befac4d59c3677352e68c79fca diff --git a/decoder/runtc.c b/decoder/runtc.c index 49e6a61..6d40c1f 100644 --- a/decoder/runtc.c +++ b/decoder/runtc.c @@ -349,7 +349,7 @@ static int run_testcase(const char *infile, GSList *pdlist, struct output *op) if (op->outfile) { if ((op->outfd = open(op->outfile, O_CREAT|O_WRONLY, 0600)) == -1) { ERR("Unable to open %s for writing: %s", op->outfile, - strerror(errno)); + g_strerror(errno)); return FALSE; } }