X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=blobdiff_plain;f=decoder%2Fruntc.c;h=6d40c1f8f46cb0037f8b82bd8a082e6aafafdd5e;hp=49e6a61009d8eaa9eb34ef128921973bcbac245d;hb=dd9648d4c3235317cb8b36c88448f5f14c738a6b;hpb=cb5b23ce1221332d20a4d0202c4e845935b8d440 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; } }